#A230C4#A230C4
#A230C4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.225 H 317.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A230C4 |
|---|---|
| RGB | rgb(162, 48, 196) |
| HSL | hsl(286, 61%, 48%) |
| HSV | hsv(286, 76%, 77%) |
| CMYK | cmyk(17.3%, 75.5%, 0%, 23.1%) |
| CIE-LAB | lab(43.92, 65.97, -54.52) |
| CIE-LCH | lch(43.92, 85.58, 320.43°) |
| OKLab | oklab(54.59% 0.1648 -0.1535) |
| OKLCH | oklch(54.59% 0.225 317) |
| XYZ | xyz(25.9196, 13.7819, 53.5087) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.27
Barney
#AC1DB8
ΔE00 3.23
Purply
#983FB2
ΔE00 3.38
Vibrant Purple
#AD03DE
ΔE00 3.94
Darkviolet
#9400D3
ΔE00 5.72
Violet (survey)
#9A0EEA
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A230C4 #52C430
analogous
#5830C4 #A230C4 #C4309C
triadic
#A230C4 #C4A230 #30C4A2
tetradic
#A230C4 #C45830 #52C430 #309CC4
square
#A230C4 #C45830 #52C430 #309CC4
split-complementary
#A230C4 #9CC430 #30C458
monochromatic
#511862 #792493 #A230C4 #BA5AD7 #CF8CE3
Accessibility & contrast
On white
5.59
#A230C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#A230C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A230C4
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A230C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A230C4 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#A05079
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a230c4; /* rgb */ color: rgb(162, 48, 196); /* oklch */ color: oklch(54.6% 0.225 317.0);
Tailwind
colors: {
custom: {
50: '#c275d7',
500: '#a230c4',
950: '#000000',
},
}SCSS
$custom: #a230c4; $custom-light: #c275d7; $custom-dark: #000000;
JSON
{
"hex": "#a230c4",
"rgb": {
"r": 162,
"g": 48,
"b": 196
},
"hsl": {
"h": 286.216,
"s": 60.656,
"l": 47.843
},
"oklch": {
"l": 0.54588,
"c": 0.22522,
"h": 317
},
"luminance": 0.13781
}Semantic roles & 50–950 ramp
primary
#A230C4
secondary
#94CD83
accent
#E44469
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83