#9D6CED#9D6CED
#9D6CED is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.188 H 298.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D6CED |
|---|---|
| RGB | rgb(157, 108, 237) |
| HSL | hsl(263, 78%, 68%) |
| HSV | hsv(263, 54%, 93%) |
| CMYK | cmyk(33.8%, 54.4%, 0%, 7.1%) |
| CIE-LAB | lab(56.10, 46.08, -58.34) |
| CIE-LCH | lch(56.10, 74.34, 308.31°) |
| OKLab | oklab(64.08% 0.0896 -0.1651) |
| OKLCH | oklch(64.08% 0.188 298.5) |
| XYZ | xyz(34.5495, 24.0073, 82.9180) |
| Luminance | 0.2401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.24
Light Urple
#B36FF6
ΔE00 4.13
Lighter Purple
#A55AF4
ΔE00 4.30
Lightish Purple
#A552E6
ΔE00 6.38
Mediumslateblue
#7B68EE
ΔE00 6.40
Easter Purple
#C071FE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D6CED #BCED6C
analogous
#6C7BED #9D6CED #DE6CED
triadic
#9D6CED #ED9D6C #6CED9D
tetradic
#9D6CED #ED6C7B #BCED6C #6CEDDE
square
#9D6CED #ED6C7B #BCED6C #6CEDDE
split-complementary
#9D6CED #EDDE6C #7BED6C
monochromatic
#5A18C6 #7935E6 #9D6CED #C1A3F4 #E6D9FA
Accessibility & contrast
On white
3.62
#9D6CED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#9D6CED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D6CED
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D6CED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D6CED | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3587F1
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#8C86A2
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9d6ced; /* rgb */ color: rgb(157, 108, 237); /* oklch */ color: oklch(64.1% 0.188 298.5);
Tailwind
colors: {
custom: {
50: '#be97f3',
500: '#9d6ced',
950: '#000000',
},
}SCSS
$custom: #9d6ced; $custom-light: #be97f3; $custom-dark: #000000;
JSON
{
"hex": "#9d6ced",
"rgb": {
"r": 157,
"g": 108,
"b": 237
},
"hsl": {
"h": 262.791,
"s": 78.182,
"l": 67.647
},
"oklch": {
"l": 0.64081,
"c": 0.18784,
"h": 298.5
},
"luminance": 0.24008
}Semantic roles & 50–950 ramp
primary
#9D6CED
secondary
#DFEEC6
accent
#DA0B8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85