#9C2FC7#9C2FC7
#9C2FC7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.227 H 314.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FC7 |
|---|---|
| RGB | rgb(156, 47, 199) |
| HSL | hsl(283, 62%, 48%) |
| HSV | hsv(283, 76%, 78%) |
| CMYK | cmyk(21.6%, 76.4%, 0%, 22%) |
| CIE-LAB | lab(43.10, 65.76, -57.63) |
| CIE-LCH | lch(43.10, 87.44, 318.77°) |
| OKLab | oklab(53.89% 0.1579 -0.1628) |
| OKLCH | oklch(53.89% 0.227 314.1) |
| XYZ | xyz(25.0339, 13.2253, 55.2558) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.07
Vibrant Purple
#AD03DE
ΔE00 3.78
Purply
#983FB2
ΔE00 3.94
Barney
#AC1DB8
ΔE00 4.22
Darkviolet
#9400D3
ΔE00 4.57
Violet (survey)
#9A0EEA
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FC7 #5AC72F
analogous
#502FC7 #9C2FC7 #C72FA6
triadic
#9C2FC7 #C79C2F #2FC79C
tetradic
#9C2FC7 #C7502F #5AC72F #2FA6C7
square
#9C2FC7 #C7502F #5AC72F #2FA6C7
split-complementary
#9C2FC7 #A6C72F #2FC750
monochromatic
#4E1864 #752395 #9C2FC7 #B55BD8 #CB8CE4
Accessibility & contrast
On white
5.76
#9C2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9C2FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FC7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FC7 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#98527A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9c2fc7; /* rgb */ color: rgb(156, 47, 199); /* oklch */ color: oklch(53.9% 0.227 314.1);
Tailwind
colors: {
custom: {
50: '#be74d9',
500: '#9c2fc7',
950: '#000000',
},
}SCSS
$custom: #9c2fc7; $custom-light: #be74d9; $custom-dark: #000000;
JSON
{
"hex": "#9c2fc7",
"rgb": {
"r": 156,
"g": 47,
"b": 199
},
"hsl": {
"h": 283.026,
"s": 61.789,
"l": 48.235
},
"oklch": {
"l": 0.53893,
"c": 0.22676,
"h": 314.1
},
"luminance": 0.13224
}Semantic roles & 50–950 ramp
primary
#9C2FC7
secondary
#99CE84
accent
#E54371
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83