#A12FDA#A12FDA
#A12FDA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.245 H 311.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A12FDA |
|---|---|
| RGB | rgb(161, 47, 218) |
| HSL | hsl(280, 70%, 52%) |
| HSV | hsv(280, 78%, 85%) |
| CMYK | cmyk(26.1%, 78.4%, 0%, 14.5%) |
| CIE-LAB | lab(45.18, 70.42, -65.18) |
| CIE-LCH | lch(45.18, 95.95, 317.21°) |
| OKLab | oklab(55.93% 0.1606 -0.1848) |
| OKLCH | oklch(55.93% 0.245 311) |
| XYZ | xyz(28.3669, 14.6728, 67.6539) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.21
Vibrant Purple
#AD03DE
ΔE00 2.64
Violet (survey)
#9A0EEA
ΔE00 3.71
Bright Violet
#AD0AFD
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 4.45
Electric Purple
#AA23FF
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12FDA #68DA2F
analogous
#4C2FDA #A12FDA #DA2FBE
triadic
#A12FDA #DAA12F #2FDAA1
tetradic
#A12FDA #DA4C2F #68DA2F #2FBEDA
square
#A12FDA #DA4C2F #68DA2F #2FBEDA
split-complementary
#A12FDA #BEDA2F #2FDA4C
monochromatic
#581679 #7E1FAD #A12FDA #B863E3 #D097EC
Accessibility & contrast
On white
5.34
#A12FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#A12FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12FDA
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12FDA | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#995A85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a12fda; /* rgb */ color: rgb(161, 47, 218); /* oklch */ color: oklch(55.9% 0.245 311.0);
Tailwind
colors: {
custom: {
50: '#c275e6',
500: '#a12fda',
950: '#000000',
},
}SCSS
$custom: #a12fda; $custom-light: #c275e6; $custom-dark: #000000;
JSON
{
"hex": "#a12fda",
"rgb": {
"r": 161,
"g": 47,
"b": 218
},
"hsl": {
"h": 280,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.5593,
"c": 0.24483,
"h": 311
},
"luminance": 0.14672
}Semantic roles & 50–950 ramp
primary
#A12FDA
secondary
#A6D88D
accent
#ED3B76
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84