#9366CC#9366CC
#9366CC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.1% C 0.155 H 302.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9366CC |
|---|---|
| RGB | rgb(147, 102, 204) |
| HSL | hsl(266, 50%, 60%) |
| HSV | hsv(266, 50%, 80%) |
| CMYK | cmyk(27.9%, 50%, 0%, 20%) |
| CIE-LAB | lab(51.91, 38.70, -46.45) |
| CIE-LCH | lch(51.91, 60.46, 309.80°) |
| OKLab | oklab(60.14% 0.0827 -0.1306) |
| OKLCH | oklch(60.14% 0.155 302.4) |
| XYZ | xyz(27.6806, 20.0654, 59.5298) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.67
Mediumpurple
#9370DB
ΔE00 3.87
Deep Lilac
#966EBD
ΔE00 4.23
Deep Lavender
#8D5EB7
ΔE00 4.35
Lightish Purple
#A552E6
ΔE00 6.27
Purpley
#8756E4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9366CC #9FCC66
analogous
#666CCC #9366CC #C666CC
triadic
#9366CC #CC9366 #66CC93
tetradic
#9366CC #CC666C #9FCC66 #66CCC6
square
#9366CC #CC666C #9FCC66 #66CCC6
split-complementary
#9366CC #CCC666 #6CCC66
monochromatic
#562E8A #733DB8 #9366CC #B394DB #D4C2EB
Accessibility & contrast
On white
4.19
#9366CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#9366CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9366CC
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9366CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9366CC | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#89798F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9366cc; /* rgb */ color: rgb(147, 102, 204); /* oklch */ color: oklch(60.1% 0.155 302.4);
Tailwind
colors: {
custom: {
50: '#b593dc',
500: '#9366cc',
950: '#000000',
},
}SCSS
$custom: #9366cc; $custom-light: #b593dc; $custom-dark: #000000;
JSON
{
"hex": "#9366cc",
"rgb": {
"r": 147,
"g": 102,
"b": 204
},
"hsl": {
"h": 266.471,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.60143,
"c": 0.15458,
"h": 302.4
},
"luminance": 0.20065
}Semantic roles & 50–950 ramp
primary
#9366CC
secondary
#C9DBB3
accent
#DA4E9C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83