#A239B0#A239B0
#A239B0 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.2% C 0.198 H 322.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A239B0 |
|---|---|
| RGB | rgb(162, 57, 176) |
| HSL | hsl(293, 51%, 46%) |
| HSV | hsv(293, 68%, 69%) |
| CMYK | cmyk(8%, 67.6%, 0%, 31%) |
| CIE-LAB | lab(43.86, 58.87, -42.89) |
| CIE-LCH | lch(43.86, 72.84, 323.93°) |
| OKLab | oklab(54.15% 0.1574 -0.1195) |
| OKLCH | oklch(54.15% 0.198 322.8) |
| XYZ | xyz(24.1991, 13.7436, 42.4440) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.12
Medium Purple
#9E43A2
ΔE00 3.10
Barney
#AC1DB8
ΔE00 3.16
Ugly Purple
#A442A0
ΔE00 3.87
Darkorchid
#9932CC
ΔE00 5.49
Warm Purple
#952E8F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239B0 #47B039
analogous
#6639B0 #A239B0 #B03982
triadic
#A239B0 #B0A239 #39B0A2
tetradic
#A239B0 #B06639 #47B039 #3982B0
square
#A239B0 #B06639 #47B039 #3982B0
split-complementary
#A239B0 #82B039 #39B066
monochromatic
#4D1B54 #772A82 #A239B0 #BD5CCA #D08AD9
Accessibility & contrast
On white
5.60
#A239B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#A239B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239B0
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239B0 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1860B3
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#A44D70
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a239b0; /* rgb */ color: rgb(162, 57, 176); /* oklch */ color: oklch(54.2% 0.198 322.8);
Tailwind
colors: {
custom: {
50: '#c178c8',
500: '#a239b0',
950: '#000000',
},
}SCSS
$custom: #a239b0; $custom-light: #c178c8; $custom-dark: #000000;
JSON
{
"hex": "#a239b0",
"rgb": {
"r": 162,
"g": 57,
"b": 176
},
"hsl": {
"h": 292.941,
"s": 51.073,
"l": 45.686
},
"oklch": {
"l": 0.54154,
"c": 0.19761,
"h": 322.8
},
"luminance": 0.13742
}Semantic roles & 50–950 ramp
primary
#A239B0
secondary
#89C481
accent
#DB4D5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82