#9C2FC3#9C2FC3
#9C2FC3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 315.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FC3 |
|---|---|
| RGB | rgb(156, 47, 195) |
| HSL | hsl(284, 61%, 47%) |
| HSV | hsv(284, 76%, 76%) |
| CMYK | cmyk(20%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(42.83, 64.97, -55.75) |
| CIE-LCH | lch(42.83, 85.61, 319.37°) |
| OKLab | oklab(53.61% 0.1585 -0.1573) |
| OKLCH | oklch(53.61% 0.223 315.2) |
| XYZ | xyz(24.5755, 13.0420, 52.8420) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.64
Purply
#983FB2
ΔE00 3.50
Barney
#AC1DB8
ΔE00 3.79
Vibrant Purple
#AD03DE
ΔE00 4.18
Darkviolet
#9400D3
ΔE00 4.79
Violet (survey)
#9A0EEA
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FC3 #56C32F
analogous
#522FC3 #9C2FC3 #C32FA0
triadic
#9C2FC3 #C39C2F #2FC39C
tetradic
#9C2FC3 #C3522F #56C32F #2FA0C3
square
#9C2FC3 #C3522F #56C32F #2FA0C3
split-complementary
#9C2FC3 #A0C32F #2FC352
monochromatic
#4D1760 #752392 #9C2FC3 #B658D7 #CB8AE3
Accessibility & contrast
On white
5.82
#9C2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#9C2FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FC3
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FC3 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2968C0
Tritanopia (blue-blind)
#995078
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9c2fc3; /* rgb */ color: rgb(156, 47, 195); /* oklch */ color: oklch(53.6% 0.223 315.2);
Tailwind
colors: {
custom: {
50: '#be73d6',
500: '#9c2fc3',
950: '#000000',
},
}SCSS
$custom: #9c2fc3; $custom-light: #be73d6; $custom-dark: #000000;
JSON
{
"hex": "#9c2fc3",
"rgb": {
"r": 156,
"g": 47,
"b": 195
},
"hsl": {
"h": 284.189,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.53613,
"c": 0.22326,
"h": 315.2
},
"luminance": 0.13041
}Semantic roles & 50–950 ramp
primary
#9C2FC3
secondary
#95CD81
accent
#E4446E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83