#9C3EE2#9C3EE2
#9C3EE2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.236 H 306.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3EE2 |
|---|---|
| RGB | rgb(156, 62, 226) |
| HSL | hsl(274, 74%, 56%) |
| HSV | hsv(274, 73%, 89%) |
| CMYK | cmyk(31%, 72.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.98, 65.75, -66.85) |
| CIE-LCH | lch(46.98, 93.76, 314.52°) |
| OKLab | oklab(57.23% 0.1398 -0.19) |
| OKLCH | oklch(57.23% 0.236 306.3) |
| XYZ | xyz(29.1574, 16.0044, 73.4899) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 4.01
Darkorchid
#9932CC
ΔE00 4.13
Bright Violet
#AD0AFD
ΔE00 4.47
Lightish Purple
#A552E6
ΔE00 4.83
Blueviolet
#8A2BE2
ΔE00 4.95
Vibrant Purple
#AD03DE
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3EE2 #84E23E
analogous
#4A3EE2 #9C3EE2 #E23ED6
triadic
#9C3EE2 #E29C3E #3EE29C
tetradic
#9C3EE2 #E24A3E #84E23E #3ED6E2
square
#9C3EE2 #E24A3E #84E23E #3ED6E2
split-complementary
#9C3EE2 #D6E23E #3EE24A
monochromatic
#5C1690 #7E1EC5 #9C3EE2 #B773EA #D3A8F2
Accessibility & contrast
On white
5.00
#9C3EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#9C3EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3EE2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3EE2 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#90658D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9c3ee2; /* rgb */ color: rgb(156, 62, 226); /* oklch */ color: oklch(57.2% 0.236 306.3);
Tailwind
colors: {
custom: {
50: '#bf7cec',
500: '#9c3ee2',
950: '#000000',
},
}SCSS
$custom: #9c3ee2; $custom-light: #bf7cec; $custom-dark: #000000;
JSON
{
"hex": "#9c3ee2",
"rgb": {
"r": 156,
"g": 62,
"b": 226
},
"hsl": {
"h": 274.39,
"s": 73.874,
"l": 56.471
},
"oklch": {
"l": 0.57234,
"c": 0.23588,
"h": 306.3
},
"luminance": 0.16004
}Semantic roles & 50–950 ramp
primary
#9C3EE2
secondary
#B9E09C
accent
#F13786
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84