#A23FD2#A23FD2
#A23FD2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.221 H 312.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A23FD2 |
|---|---|
| RGB | rgb(162, 63, 210) |
| HSL | hsl(280, 62%, 54%) |
| HSV | hsv(280, 70%, 82%) |
| CMYK | cmyk(22.9%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(46.83, 63.09, -57.92) |
| CIE-LCH | lch(46.83, 85.64, 317.45°) |
| OKLab | oklab(56.95% 0.1489 -0.1635) |
| OKLCH | oklch(56.95% 0.221 312.3) |
| XYZ | xyz(28.3085, 15.8903, 62.5362) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.33
Vibrant Purple
#AD03DE
ΔE00 4.67
Purply
#983FB2
ΔE00 5.10
Lightish Purple
#A552E6
ΔE00 5.30
Electric Purple
#AA23FF
ΔE00 5.86
Bright Violet
#AD0AFD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23FD2 #6FD23F
analogous
#583FD2 #A23FD2 #D23FB8
triadic
#A23FD2 #D2A23F #3FD2A2
tetradic
#A23FD2 #D2583F #6FD23F #3FB8D2
square
#A23FD2 #D2583F #6FD23F #3FB8D2
split-complementary
#A23FD2 #B8D23F #3FD258
monochromatic
#5C1D7A #8128AC #A23FD2 #BA71DE #D2A2E9
Accessibility & contrast
On white
5.03
#A23FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#A23FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23FD2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23FD2 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#9C5E84
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a23fd2; /* rgb */ color: rgb(162, 63, 210); /* oklch */ color: oklch(56.9% 0.221 312.3);
Tailwind
colors: {
custom: {
50: '#c27ce1',
500: '#a23fd2',
950: '#000000',
},
}SCSS
$custom: #a23fd2; $custom-light: #c27ce1; $custom-dark: #000000;
JSON
{
"hex": "#a23fd2",
"rgb": {
"r": 162,
"g": 63,
"b": 210
},
"hsl": {
"h": 280.408,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.56949,
"c": 0.22118,
"h": 312.3
},
"luminance": 0.1589
}Semantic roles & 50–950 ramp
primary
#A23FD2
secondary
#ABD697
accent
#E54378
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83