#A230C7#A230C7
#A230C7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.228 H 316.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A230C7 |
|---|---|
| RGB | rgb(162, 48, 199) |
| HSL | hsl(285, 61%, 48%) |
| HSV | hsv(285, 76%, 78%) |
| CMYK | cmyk(18.6%, 75.9%, 0%, 22%) |
| CIE-LAB | lab(44.12, 66.54, -55.94) |
| CIE-LCH | lch(44.12, 86.93, 319.95°) |
| OKLab | oklab(54.79% 0.1644 -0.1577) |
| OKLCH | oklch(54.79% 0.228 316.2) |
| XYZ | xyz(26.2644, 13.9199, 55.3251) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.96
Barney
#AC1DB8
ΔE00 3.60
Vibrant Purple
#AD03DE
ΔE00 3.61
Purply
#983FB2
ΔE00 3.71
Darkviolet
#9400D3
ΔE00 5.56
Violet (survey)
#9A0EEA
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A230C7 #55C730
analogous
#5630C7 #A230C7 #C730A0
triadic
#A230C7 #C7A230 #30C7A2
tetradic
#A230C7 #C75630 #55C730 #30A0C7
square
#A230C7 #C75630 #55C730 #30A0C7
split-complementary
#A230C7 #A0C730 #30C756
monochromatic
#521864 #7A2496 #A230C7 #BA5CD8 #CF8EE4
Accessibility & contrast
On white
5.55
#A230C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#A230C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A230C7
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A230C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A230C7 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2F6BC4
Tritanopia (blue-blind)
#A0527A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a230c7; /* rgb */ color: rgb(162, 48, 199); /* oklch */ color: oklch(54.8% 0.228 316.2);
Tailwind
colors: {
custom: {
50: '#c275d9',
500: '#a230c7',
950: '#000000',
},
}SCSS
$custom: #a230c7; $custom-light: #c275d9; $custom-dark: #000000;
JSON
{
"hex": "#a230c7",
"rgb": {
"r": 162,
"g": 48,
"b": 199
},
"hsl": {
"h": 285.298,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.54792,
"c": 0.2278,
"h": 316.2
},
"luminance": 0.13919
}Semantic roles & 50–950 ramp
primary
#A230C7
secondary
#97CE85
accent
#E4446B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83