#9D6FD5#9D6FD5
#9D6FD5 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.154 H 303.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D6FD5 |
|---|---|
| RGB | rgb(157, 111, 213) |
| HSL | hsl(267, 55%, 64%) |
| HSV | hsv(267, 48%, 84%) |
| CMYK | cmyk(26.3%, 47.9%, 0%, 16.5%) |
| CIE-LAB | lab(55.42, 38.51, -45.93) |
| CIE-LCH | lch(55.42, 59.94, 309.98°) |
| OKLab | oklab(63.15% 0.0839 -0.1288) |
| OKLCH | oklch(63.15% 0.154 303.1) |
| XYZ | xyz(31.5967, 23.3411, 65.7786) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.67
Deep Lilac
#966EBD
ΔE00 4.34
Amethyst
#9B5FC0
ΔE00 5.71
Light Urple
#B36FF6
ΔE00 5.75
Lighter Purple
#A55AF4
ΔE00 6.68
Wisteria
#A87DC2
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D6FD5 #A7D56F
analogous
#6F74D5 #9D6FD5 #D06FD5
triadic
#9D6FD5 #D59D6F #6FD59D
tetradic
#9D6FD5 #D56F74 #A7D56F #6FD5D0
square
#9D6FD5 #D56F74 #A7D56F #6FD5D0
split-complementary
#9D6FD5 #D5D06F #74D56F
monochromatic
#5F2E9C #7D40C7 #9D6FD5 #BD9EE3 #DDCEF1
Accessibility & contrast
On white
3.70
#9D6FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#9D6FD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D6FD5
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D6FD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D6FD5 | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5184D9
Deuteranopia (green-blind)
#5D85D2
Tritanopia (blue-blind)
#938198
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9d6fd5; /* rgb */ color: rgb(157, 111, 213); /* oklch */ color: oklch(63.2% 0.154 303.1);
Tailwind
colors: {
custom: {
50: '#bc99e2',
500: '#9d6fd5',
950: '#000000',
},
}SCSS
$custom: #9d6fd5; $custom-light: #bc99e2; $custom-dark: #000000;
JSON
{
"hex": "#9d6fd5",
"rgb": {
"r": 157,
"g": 111,
"b": 213
},
"hsl": {
"h": 267.059,
"s": 54.839,
"l": 63.529
},
"oklch": {
"l": 0.63153,
"c": 0.15375,
"h": 303.1
},
"luminance": 0.23341
}Semantic roles & 50–950 ramp
primary
#9D6FD5
secondary
#D2E2BE
accent
#C2237B
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83