Skip to content
PantoneTools
purple
X11 named colors

Purple2

purple2 · #912CEE

HEX

#912CEE

RGB

rgb(145, 44, 238)

CMYK

cmyk(39%, 82%, 0%, 7%)

HSL

hsl(271, 85%, 55%)

LAB

lab(44.2, 73.1, -78.2)

What is Purple2?

Purple2 is the purple2 reference in the X11 named colors. Its sRGB value is #912CEE (rgb 145, 44, 238). It sits in the purple family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Purple2 as a background.

Black text on this color

Sample text · 3.80 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 5.53 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Purple2

An 11-step tonal scale derived from Purple2 (#912CEE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F6EEFE

50

#F6EEFE

#F6EEFE

Copied #EDDDFC

100

#EDDDFC

#EDDDFC

Copied #DCBBFA

200

#DCBBFA

#DCBBFA

Copied #C896F7

300

#C896F7

#C896F7

Copied #AD61F2

400

#AD61F2

#AD61F2

Copied #912CEE

500

#912CEE

#912CEE

Copied #7B25CA

600

#7B25CA

#7B25CA

Copied #5E1D9B

700

#5E1D9B

#5E1D9B

Copied #41146B

800

#41146B

#41146B

Copied #240B3C

900

#240B3C

#240B3C

Copied #11051D

950

#11051D

#11051D

Lighter tints (mixed with white)

Copied #A873F1

15%

#A873F1

Copied #BB99F3

30%

#BB99F3

Copied #CCB5F6

45%

#CCB5F6

Copied #DCCDF8

60%

#DCCDF8

Copied #EAE1FB

75%

#EAE1FB

Darker shades (mixed with black)

Copied #8728DD

15%

#8728DD

Copied #7B24CB

30%

#7B24CB

Copied #6E1FB6

45%

#6E1FB6

Copied #5F1A9E

60%

#5F1A9E

Copied #4B137F

75%

#4B137F

Color harmonies for Purple2

Classic color-theory harmonies derived from rotating the hue of Purple2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #912CEE

#912CEE

#912CEE

Copied #89EE2B

#89EE2B

#89EE2B

Triadic

Three colors 120° apart

Copied #912CEE

#912CEE

#912CEE

Copied #EE902B

#EE902B

#EE902B

Copied #2BEE90

#2BEE90

#2BEE90

Analogous

Two neighbors ±30° on the wheel

Copied #2E2BEE

#2E2BEE

#2E2BEE

Copied #912CEE

#912CEE

#912CEE

Copied #EE2BEB

#EE2BEB

#EE2BEB

Split-complementary

Base + two colors flanking its complement

Copied #912CEE

#912CEE

#912CEE

Copied #EBEE2B

#EBEE2B

#EBEE2B

Copied #2BEE2E

#2BEE2E

#2BEE2E

Tetradic

Two complementary pairs

Copied #912CEE

#912CEE

#912CEE

Copied #EE2B89

#EE2B89

#EE2B89

Copied #89EE2B

#89EE2B

#89EE2B

Copied #2BEE90

#2BEE90

#2BEE90

Square

Four colors evenly spaced 90° apart

Copied #912CEE

#912CEE

#912CEE

Copied #EE2E2B

#EE2E2B

#EE2E2B

Copied #89EE2B

#89EE2B

#89EE2B

Copied #2BEBEE

#2BEBEE

#2BEBEE

Purple2 in every color space

Full conversion of Purple2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#912CEE

RGB

rgb(145, 44, 238)

CMYK

cmyk(39%, 82%, 0%, 7%)

HSL

hsl(271, 85%, 55%)

HSV

hsv(271, 82%, 93%)

HWB

hwb(271 17% 7%)

CIE Lab

lab(44.2 73.1 -78.2)

OKLCH

oklch(55.3% 0.262 301.3)

XYZ (D65)

xyz(28.01, 13.99, 82.10)

Copy-ready code for Purple2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #912CEE;
background-color: #912CEE;

CSS variable

:root {
  --color-purple2: #912CEE;
}

Tailwind config

// tailwind.config.js
colors: {
  'purple2': '#912CEE',
}

Sass

$color-purple2: #912CEE;

Swift UIColor

UIColor(red: 0.569, green: 0.173, blue: 0.933, alpha: 1.0)

Android XML

<color name="purple2">#912CEE</color>

Closest match in every color system

The nearest Purple2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #6C4675

RAL 4005

#6C4675

Blue lilac

Copied #924E7D

RAL 4008

#924E7D

Signal violet

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #A03472

RAL 4006

#A03472

Traffic purple

Copied #49678D

RAL 5023

#49678D

Distant blue

FAQ about Purple2

What is the HEX code for Purple2?

Purple2 (purple2) has the HEX code #912CEE. In RGB it is rgb(145, 44, 238), and in CMYK it is cmyk(39%, 82%, 0%, 7%).

What is the OKLCH value of Purple2?

Purple2 converts to oklch(0.553 0.262 301.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Purple2 accessible for body text?

Used as a background, Purple2 has a contrast ratio of 3.80:1 with black text and 5.53:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Purple2?

The closest Pantone reference to Purple2 by ΔE2000 perceptual distance is Pantone 254 C (#9B26B6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Purple2?

The closest RAL Classic reference to Purple2 by ΔE2000 distance is RAL 7000 (Squirrel grey, #7E8B92). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Purple2?

The complementary color (180° opposite on the HSL color wheel) of Purple2 is #89EE2B. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
purple

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Purple2 — #912CEE | PantoneTools