#9A2FC1#9A2FC1
#9A2FC1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.221 H 315.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FC1 |
|---|---|
| RGB | rgb(154, 47, 193) |
| HSL | hsl(284, 61%, 47%) |
| HSV | hsv(284, 76%, 76%) |
| CMYK | cmyk(20.2%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(42.39, 64.20, -55.30) |
| CIE-LCH | lch(42.39, 84.73, 319.26°) |
| OKLab | oklab(53.2% 0.1563 -0.156) |
| OKLCH | oklch(53.2% 0.221 315.1) |
| XYZ | xyz(23.9670, 12.7542, 51.6411) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.82
Purply
#983FB2
ΔE00 3.43
Barney
#AC1DB8
ΔE00 3.89
Vibrant Purple
#AD03DE
ΔE00 4.51
Darkviolet
#9400D3
ΔE00 4.68
Violet (survey)
#9A0EEA
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FC1 #56C12F
analogous
#512FC1 #9A2FC1 #C12F9F
triadic
#9A2FC1 #C19A2F #2FC19A
tetradic
#9A2FC1 #C1512F #56C12F #2F9FC1
square
#9A2FC1 #C1512F #56C12F #2F9FC1
split-complementary
#9A2FC1 #9FC12F #2FC151
monochromatic
#4B175F #732390 #9A2FC1 #B457D6 #CA88E2
Accessibility & contrast
On white
5.91
#9A2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#9A2FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FC1
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FC1 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2867BE
Tritanopia (blue-blind)
#975077
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9a2fc1; /* rgb */ color: rgb(154, 47, 193); /* oklch */ color: oklch(53.2% 0.221 315.1);
Tailwind
colors: {
custom: {
50: '#bc73d4',
500: '#9a2fc1',
950: '#000000',
},
}SCSS
$custom: #9a2fc1; $custom-light: #bc73d4; $custom-dark: #000000;
JSON
{
"hex": "#9a2fc1",
"rgb": {
"r": 154,
"g": 47,
"b": 193
},
"hsl": {
"h": 283.973,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.53201,
"c": 0.22083,
"h": 315.1
},
"luminance": 0.12753
}Semantic roles & 50–950 ramp
primary
#9A2FC1
secondary
#94CC80
accent
#E4446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83