#A23FC2#A23FC2
#A23FC2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.206 H 316.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A23FC2 |
|---|---|
| RGB | rgb(162, 63, 194) |
| HSL | hsl(285, 52%, 50%) |
| HSV | hsv(285, 68%, 76%) |
| CMYK | cmyk(16.5%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(45.82, 59.84, -50.31) |
| CIE-LCH | lch(45.82, 78.18, 319.95°) |
| OKLab | oklab(55.9% 0.1502 -0.1412) |
| OKLCH | oklch(55.9% 0.206 316.8) |
| XYZ | xyz(26.4140, 15.1325, 52.5580) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Darkorchid
#9932CC
ΔE00 3.67
Barney
#AC1DB8
ΔE00 4.60
Vibrant Purple
#AD03DE
ΔE00 5.56
Medium Purple
#9E43A2
ΔE00 5.64
Ugly Purple
#A442A0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23FC2 #5FC23F
analogous
#613FC2 #A23FC2 #C23FA0
triadic
#A23FC2 #C2A23F #3FC2A2
tetradic
#A23FC2 #C2613F #5FC23F #3FA0C2
square
#A23FC2 #C2613F #5FC23F #3FA0C2
split-complementary
#A23FC2 #A0C23F #3FC261
monochromatic
#552066 #7C2F95 #A23FC2 #B86DD1 #CF9CE0
Accessibility & contrast
On white
5.22
#A23FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#A23FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23FC2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23FC2 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#416FBF
Tritanopia (blue-blind)
#A0587C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a23fc2; /* rgb */ color: rgb(162, 63, 194); /* oklch */ color: oklch(55.9% 0.206 316.8);
Tailwind
colors: {
custom: {
50: '#c17cd5',
500: '#a23fc2',
950: '#000000',
},
}SCSS
$custom: #a23fc2; $custom-light: #c17cd5; $custom-dark: #000000;
JSON
{
"hex": "#a23fc2",
"rgb": {
"r": 162,
"g": 63,
"b": 194
},
"hsl": {
"h": 285.344,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.55899,
"c": 0.2062,
"h": 316.8
},
"luminance": 0.15131
}Semantic roles & 50–950 ramp
primary
#A23FC2
secondary
#9FCC91
accent
#DB4D6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83