#A230CD#A230CD
#A230CD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.233 H 314.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A230CD |
|---|---|
| RGB | rgb(162, 48, 205) |
| HSL | hsl(284, 62%, 50%) |
| HSV | hsv(284, 77%, 80%) |
| CMYK | cmyk(21%, 76.6%, 0%, 19.6%) |
| CIE-LAB | lab(44.52, 67.70, -58.76) |
| CIE-LCH | lch(44.52, 89.65, 319.04°) |
| OKLab | oklab(55.21% 0.1635 -0.1659) |
| OKLCH | oklch(55.21% 0.233 314.6) |
| XYZ | xyz(26.9748, 14.2040, 59.0665) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.60
Vibrant Purple
#AD03DE
ΔE00 3.07
Barney
#AC1DB8
ΔE00 4.38
Purply
#983FB2
ΔE00 4.42
Violet (survey)
#9A0EEA
ΔE00 5.01
Darkviolet
#9400D3
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A230CD #5BCD30
analogous
#5430CD #A230CD #CD30A9
triadic
#A230CD #CDA230 #30CDA2
tetradic
#A230CD #CD5430 #5BCD30 #30A9CD
square
#A230CD #CD5430 #5BCD30 #30A9CD
split-complementary
#A230CD #A9CD30 #30CD54
monochromatic
#54196A #7B249B #A230CD #B960DA #CF92E5
Accessibility & contrast
On white
5.47
#A230CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#A230CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A230CD
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A230CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A230CD | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#9E547E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a230cd; /* rgb */ color: rgb(162, 48, 205); /* oklch */ color: oklch(55.2% 0.233 314.6);
Tailwind
colors: {
custom: {
50: '#c275dd',
500: '#a230cd',
950: '#000000',
},
}SCSS
$custom: #a230cd; $custom-light: #c275dd; $custom-dark: #000000;
JSON
{
"hex": "#a230cd",
"rgb": {
"r": 162,
"g": 48,
"b": 205
},
"hsl": {
"h": 283.567,
"s": 62.055,
"l": 49.608
},
"oklch": {
"l": 0.55208,
"c": 0.23296,
"h": 314.6
},
"luminance": 0.14203
}Semantic roles & 50–950 ramp
primary
#A230CD
secondary
#9CD089
accent
#E5436F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83