#A239B1#A239B1
#A239B1 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.198 H 322.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A239B1 |
|---|---|
| RGB | rgb(162, 57, 177) |
| HSL | hsl(293, 51%, 46%) |
| HSV | hsv(293, 68%, 69%) |
| CMYK | cmyk(8.5%, 67.8%, 0%, 30.6%) |
| CIE-LAB | lab(43.92, 59.06, -43.39) |
| CIE-LCH | lch(43.92, 73.28, 323.70°) |
| OKLab | oklab(54.21% 0.1574 -0.121) |
| OKLCH | oklch(54.21% 0.198 322.4) |
| XYZ | xyz(24.2984, 13.7833, 42.9670) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.03
Barney
#AC1DB8
ΔE00 3.12
Medium Purple
#9E43A2
ΔE00 3.24
Ugly Purple
#A442A0
ΔE00 4.02
Darkorchid
#9932CC
ΔE00 5.33
Warm Purple
#952E8F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239B1 #48B139
analogous
#6639B1 #A239B1 #B13984
triadic
#A239B1 #B1A239 #39B1A2
tetradic
#A239B1 #B16639 #48B139 #3984B1
square
#A239B1 #B16639 #48B139 #3984B1
split-complementary
#A239B1 #84B139 #39B166
monochromatic
#4D1B54 #782A83 #A239B1 #BD5DCB #D08BDA
Accessibility & contrast
On white
5.59
#A239B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#A239B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239B1
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239B1 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1660B4
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#A44D71
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a239b1; /* rgb */ color: rgb(162, 57, 177); /* oklch */ color: oklch(54.2% 0.198 322.4);
Tailwind
colors: {
custom: {
50: '#c178c9',
500: '#a239b1',
950: '#000000',
},
}SCSS
$custom: #a239b1; $custom-light: #c178c9; $custom-dark: #000000;
JSON
{
"hex": "#a239b1",
"rgb": {
"r": 162,
"g": 57,
"b": 177
},
"hsl": {
"h": 292.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.54214,
"c": 0.19848,
"h": 322.4
},
"luminance": 0.13782
}Semantic roles & 50–950 ramp
primary
#A239B1
secondary
#8AC482
accent
#DB4D5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82