#A239CD#A239CD
#A239CD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.224 H 314.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A239CD |
|---|---|
| RGB | rgb(162, 57, 205) |
| HSL | hsl(283, 60%, 51%) |
| HSV | hsv(283, 72%, 80%) |
| CMYK | cmyk(21%, 72.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.66, 64.46, -56.93) |
| CIE-LCH | lch(45.66, 86.00, 318.55°) |
| OKLab | oklab(56.01% 0.1554 -0.1606) |
| OKLCH | oklch(56.01% 0.224 314.1) |
| XYZ | xyz(27.3810, 15.0163, 59.2019) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.37
Vibrant Purple
#AD03DE
ΔE00 3.98
Purply
#983FB2
ΔE00 4.25
Barney
#AC1DB8
ΔE00 5.03
Violet (survey)
#9A0EEA
ΔE00 5.84
Blueviolet
#8A2BE2
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239CD #64CD39
analogous
#5839CD #A239CD #CD39AE
triadic
#A239CD #CDA239 #39CDA2
tetradic
#A239CD #CD5839 #64CD39 #39AECD
square
#A239CD #CD5839 #64CD39 #39AECD
split-complementary
#A239CD #AECD39 #39CD58
monochromatic
#571C6F #7E28A0 #A239CD #B96AD9 #D09BE6
Accessibility & contrast
On white
5.25
#A239CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#A239CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239CD
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239CD | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#9E5980
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a239cd; /* rgb */ color: rgb(162, 57, 205); /* oklch */ color: oklch(56.0% 0.224 314.1);
Tailwind
colors: {
custom: {
50: '#c279dd',
500: '#a239cd',
950: '#000000',
},
}SCSS
$custom: #a239cd; $custom-light: #c279dd; $custom-dark: #000000;
JSON
{
"hex": "#a239cd",
"rgb": {
"r": 162,
"g": 57,
"b": 205
},
"hsl": {
"h": 282.568,
"s": 59.677,
"l": 51.373
},
"oklch": {
"l": 0.56009,
"c": 0.22351,
"h": 314.1
},
"luminance": 0.15015
}Semantic roles & 50–950 ramp
primary
#A239CD
secondary
#A3D290
accent
#E34573
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83