#9366D1#9366D1
#9366D1 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.161 H 301.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9366D1 |
|---|---|
| RGB | rgb(147, 102, 209) |
| HSL | hsl(265, 54%, 61%) |
| HSV | hsv(265, 51%, 82%) |
| CMYK | cmyk(29.7%, 51.2%, 0%, 18%) |
| CIE-LAB | lab(52.18, 39.94, -48.87) |
| CIE-LCH | lch(52.18, 63.11, 309.26°) |
| OKLab | oklab(60.44% 0.0832 -0.1376) |
| OKLCH | oklch(60.44% 0.161 301.1) |
| XYZ | xyz(28.2900, 20.3091, 62.7389) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.36
Amethyst
#9B5FC0
ΔE00 4.33
Deep Lilac
#966EBD
ΔE00 4.93
Deep Lavender
#8D5EB7
ΔE00 5.07
Lightish Purple
#A552E6
ΔE00 5.87
Purpley
#8756E4
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9366D1 #A4D166
analogous
#666ED1 #9366D1 #C966D1
triadic
#9366D1 #D19366 #66D193
tetradic
#9366D1 #D1666E #A4D166 #66D1C9
square
#9366D1 #D1666E #A4D166 #66D1C9
split-complementary
#9366D1 #D1C966 #6ED166
monochromatic
#562C91 #723AC0 #9366D1 #B495DF #D5C4ED
Accessibility & contrast
On white
4.15
#9366D1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#9366D1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9366D1
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9366D1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9366D1 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#4E7CCE
Tritanopia (blue-blind)
#877A92
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9366d1; /* rgb */ color: rgb(147, 102, 209); /* oklch */ color: oklch(60.4% 0.161 301.1);
Tailwind
colors: {
custom: {
50: '#b693df',
500: '#9366d1',
950: '#000000',
},
}SCSS
$custom: #9366d1; $custom-light: #b693df; $custom-dark: #000000;
JSON
{
"hex": "#9366d1",
"rgb": {
"r": 147,
"g": 102,
"b": 209
},
"hsl": {
"h": 265.234,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.60436,
"c": 0.16081,
"h": 301.1
},
"luminance": 0.20309
}Semantic roles & 50–950 ramp
primary
#9366D1
secondary
#CDDEB5
accent
#C1247F
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83