#9C2FBE#9C2FBE
#9C2FBE is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 316.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FBE |
|---|---|
| RGB | rgb(156, 47, 190) |
| HSL | hsl(286, 60%, 46%) |
| HSV | hsv(286, 75%, 75%) |
| CMYK | cmyk(17.9%, 75.3%, 0%, 25.5%) |
| CIE-LAB | lab(42.49, 64.00, -53.37) |
| CIE-LCH | lch(42.49, 83.33, 320.18°) |
| OKLab | oklab(53.27% 0.1592 -0.1503) |
| OKLCH | oklch(53.27% 0.219 316.6) |
| XYZ | xyz(24.0197, 12.8197, 49.9144) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.40
Purply
#983FB2
ΔE00 3.02
Barney
#AC1DB8
ΔE00 3.31
Vibrant Purple
#AD03DE
ΔE00 4.74
Darkviolet
#9400D3
ΔE00 5.18
Violet (survey)
#9A0EEA
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FBE #51BE2F
analogous
#542FBE #9C2FBE #BE2F99
triadic
#9C2FBE #BE9C2F #2FBE9C
tetradic
#9C2FBE #BE542F #51BE2F #2F99BE
square
#9C2FBE #BE542F #51BE2F #2F99BE
split-complementary
#9C2FBE #99BE2F #2FBE54
monochromatic
#4B175C #74238D #9C2FBE #B755D5 #CC86E1
Accessibility & contrast
On white
5.89
#9C2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#9C2FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FBE
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FBE | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#9A4E75
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9c2fbe; /* rgb */ color: rgb(156, 47, 190); /* oklch */ color: oklch(53.3% 0.219 316.6);
Tailwind
colors: {
custom: {
50: '#bd73d2',
500: '#9c2fbe',
950: '#000000',
},
}SCSS
$custom: #9c2fbe; $custom-light: #bd73d2; $custom-dark: #000000;
JSON
{
"hex": "#9c2fbe",
"rgb": {
"r": 156,
"g": 47,
"b": 190
},
"hsl": {
"h": 285.734,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.53268,
"c": 0.21891,
"h": 316.6
},
"luminance": 0.12819
}Semantic roles & 50–950 ramp
primary
#9C2FBE
secondary
#90CB7E
accent
#E3446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83