#9C2FC4#9C2FC4
#9C2FC4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.224 H 314.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FC4 |
|---|---|
| RGB | rgb(156, 47, 196) |
| HSL | hsl(284, 61%, 48%) |
| HSV | hsv(284, 76%, 77%) |
| CMYK | cmyk(20.4%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(42.89, 65.17, -56.22) |
| CIE-LCH | lch(42.89, 86.07, 319.22°) |
| OKLab | oklab(53.68% 0.1583 -0.1587) |
| OKLCH | oklch(53.68% 0.224 314.9) |
| XYZ | xyz(24.6890, 13.0874, 53.4394) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.49
Purply
#983FB2
ΔE00 3.60
Barney
#AC1DB8
ΔE00 3.89
Vibrant Purple
#AD03DE
ΔE00 4.07
Darkviolet
#9400D3
ΔE00 4.73
Violet (survey)
#9A0EEA
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FC4 #57C42F
analogous
#522FC4 #9C2FC4 #C42FA1
triadic
#9C2FC4 #C49C2F #2FC49C
tetradic
#9C2FC4 #C4522F #57C42F #2FA1C4
square
#9C2FC4 #C4522F #57C42F #2FA1C4
split-complementary
#9C2FC4 #A1C42F #2FC452
monochromatic
#4D1761 #752393 #9C2FC4 #B559D7 #CB8AE3
Accessibility & contrast
On white
5.81
#9C2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#9C2FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FC4
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FC4 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#995178
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9c2fc4; /* rgb */ color: rgb(156, 47, 196); /* oklch */ color: oklch(53.7% 0.224 314.9);
Tailwind
colors: {
custom: {
50: '#be73d7',
500: '#9c2fc4',
950: '#000000',
},
}SCSS
$custom: #9c2fc4; $custom-light: #be73d7; $custom-dark: #000000;
JSON
{
"hex": "#9c2fc4",
"rgb": {
"r": 156,
"g": 47,
"b": 196
},
"hsl": {
"h": 283.893,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.53683,
"c": 0.22414,
"h": 314.9
},
"luminance": 0.13086
}Semantic roles & 50–950 ramp
primary
#9C2FC4
secondary
#96CD82
accent
#E4436F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83