#A12FC3#A12FC3
#A12FC3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.225 H 317.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A12FC3 |
|---|---|
| RGB | rgb(161, 47, 195) |
| HSL | hsl(286, 61%, 47%) |
| HSV | hsv(286, 76%, 76%) |
| CMYK | cmyk(17.4%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.58, 65.93, -54.49) |
| CIE-LCH | lch(43.58, 85.53, 320.43°) |
| OKLab | oklab(54.3% 0.1646 -0.1534) |
| OKLCH | oklch(54.3% 0.225 317) |
| XYZ | xyz(25.5633, 13.5513, 52.8883) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.22
Barney
#AC1DB8
ΔE00 3.16
Purply
#983FB2
ΔE00 3.35
Vibrant Purple
#AD03DE
ΔE00 4.01
Darkviolet
#9400D3
ΔE00 5.51
Violet (survey)
#9A0EEA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12FC3 #51C32F
analogous
#572FC3 #A12FC3 #C32F9B
triadic
#A12FC3 #C3A12F #2FC3A1
tetradic
#A12FC3 #C3572F #51C32F #2F9BC3
square
#A12FC3 #C3572F #51C32F #2F9BC3
split-complementary
#A12FC3 #9BC32F #2FC357
monochromatic
#501760 #782392 #A12FC3 #BA58D7 #CE8AE3
Accessibility & contrast
On white
5.66
#A12FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#A12FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12FC3
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12FC3 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#9F4F78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a12fc3; /* rgb */ color: rgb(161, 47, 195); /* oklch */ color: oklch(54.3% 0.225 317.0);
Tailwind
colors: {
custom: {
50: '#c174d6',
500: '#a12fc3',
950: '#000000',
},
}SCSS
$custom: #a12fc3; $custom-light: #c174d6; $custom-dark: #000000;
JSON
{
"hex": "#a12fc3",
"rgb": {
"r": 161,
"g": 47,
"b": 195
},
"hsl": {
"h": 286.216,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.54299,
"c": 0.22502,
"h": 317
},
"luminance": 0.1355
}Semantic roles & 50–950 ramp
primary
#A12FC3
secondary
#93CD81
accent
#E44468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83