#A238CE#A238CE
#A238CE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.226 H 313.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A238CE |
|---|---|
| RGB | rgb(162, 56, 206) |
| HSL | hsl(282, 60%, 51%) |
| HSV | hsv(282, 73%, 81%) |
| CMYK | cmyk(21.4%, 72.8%, 0%, 19.2%) |
| CIE-LAB | lab(45.59, 65.04, -57.62) |
| CIE-LCH | lch(45.59, 86.89, 318.46°) |
| OKLab | oklab(55.98% 0.1562 -0.1626) |
| OKLCH | oklch(55.98% 0.226 313.9) |
| XYZ | xyz(27.4531, 14.9669, 59.8233) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.26
Vibrant Purple
#AD03DE
ΔE00 3.81
Purply
#983FB2
ΔE00 4.39
Barney
#AC1DB8
ΔE00 5.06
Violet (survey)
#9A0EEA
ΔE00 5.64
Blueviolet
#8A2BE2
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A238CE #64CE38
analogous
#5738CE #A238CE #CE38AF
triadic
#A238CE #CEA238 #38CEA2
tetradic
#A238CE #CE5738 #64CE38 #38AFCE
square
#A238CE #CE5738 #64CE38 #38AFCE
split-complementary
#A238CE #AFCE38 #38CE57
monochromatic
#571C70 #7E28A1 #A238CE #B969DA #D09AE6
Accessibility & contrast
On white
5.26
#A238CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A238CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A238CE
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A238CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A238CE | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#2D6ECB
Tritanopia (blue-blind)
#9E5980
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a238ce; /* rgb */ color: rgb(162, 56, 206); /* oklch */ color: oklch(56.0% 0.226 313.9);
Tailwind
colors: {
custom: {
50: '#c279de',
500: '#a238ce',
950: '#000000',
},
}SCSS
$custom: #a238ce; $custom-light: #c279de; $custom-dark: #000000;
JSON
{
"hex": "#a238ce",
"rgb": {
"r": 162,
"g": 56,
"b": 206
},
"hsl": {
"h": 282.4,
"s": 60.484,
"l": 51.373
},
"oklch": {
"l": 0.55982,
"c": 0.22552,
"h": 313.9
},
"luminance": 0.14966
}Semantic roles & 50–950 ramp
primary
#A238CE
secondary
#A3D290
accent
#E44473
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83