#9C2FCC#9C2FCC
#9C2FCC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.231 H 312.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FCC |
|---|---|
| RGB | rgb(156, 47, 204) |
| HSL | hsl(282, 63%, 49%) |
| HSV | hsv(282, 77%, 80%) |
| CMYK | cmyk(23.5%, 77%, 0%, 20%) |
| CIE-LAB | lab(43.45, 66.75, -59.96) |
| CIE-LCH | lch(43.45, 89.73, 318.07°) |
| OKLab | oklab(54.25% 0.157 -0.1696) |
| OKLCH | oklch(54.25% 0.231 312.8) |
| XYZ | xyz(25.6239, 13.4614, 58.3635) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.56
Vibrant Purple
#AD03DE
ΔE00 3.39
Darkviolet
#9400D3
ΔE00 4.41
Violet (survey)
#9A0EEA
ΔE00 4.45
Purply
#983FB2
ΔE00 4.52
Blueviolet
#8A2BE2
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FCC #5FCC2F
analogous
#4E2FCC #9C2FCC #CC2FAE
triadic
#9C2FCC #CC9C2F #2FCC9C
tetradic
#9C2FCC #CC4E2F #5FCC2F #2FAECC
square
#9C2FCC #CC4E2F #5FCC2F #2FAECC
split-complementary
#9C2FCC #AECC2F #2FCC4E
monochromatic
#501869 #76249A #9C2FCC #B45EDA #CB90E5
Accessibility & contrast
On white
5.69
#9C2FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9C2FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FCC
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FCC | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#1869C9
Tritanopia (blue-blind)
#97547D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9c2fcc; /* rgb */ color: rgb(156, 47, 204); /* oklch */ color: oklch(54.3% 0.231 312.8);
Tailwind
colors: {
custom: {
50: '#be74dc',
500: '#9c2fcc',
950: '#000000',
},
}SCSS
$custom: #9c2fcc; $custom-light: #be74dc; $custom-dark: #000000;
JSON
{
"hex": "#9c2fcc",
"rgb": {
"r": 156,
"g": 47,
"b": 204
},
"hsl": {
"h": 281.656,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.5425,
"c": 0.23114,
"h": 312.8
},
"luminance": 0.13461
}Semantic roles & 50–950 ramp
primary
#9C2FCC
secondary
#9DD087
accent
#E64274
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83