#9D7CD2#9D7CD2
#9D7CD2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.129 H 300.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7CD2 |
|---|---|
| RGB | rgb(157, 124, 210) |
| HSL | hsl(263, 49%, 65%) |
| HSV | hsv(263, 41%, 82%) |
| CMYK | cmyk(25.2%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(58.26, 30.42, -39.76) |
| CIE-LCH | lch(58.26, 50.06, 307.42°) |
| OKLab | oklab(65.24% 0.0655 -0.1109) |
| OKLCH | oklch(65.24% 0.129 300.6) |
| XYZ | xyz(32.7425, 26.2364, 64.2994) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.74
Wisteria
#A87DC2
ΔE00 5.06
Deep Lilac
#966EBD
ΔE00 5.28
Light Urple
#B36FF6
ΔE00 7.38
Soft Purple
#A66FB5
ΔE00 7.68
Light Purple
#BF77F6
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7CD2 #B1D27C
analogous
#7C86D2 #9D7CD2 #C87CD2
triadic
#9D7CD2 #D29D7C #7CD29D
tetradic
#9D7CD2 #D27C86 #B1D27C #7CD2C8
square
#9D7CD2 #D27C86 #B1D27C #7CD2C8
split-complementary
#9D7CD2 #D2C87C #86D27C
monochromatic
#5E369D #7B4EC2 #9D7CD2 #BFAAE2 #E1D7F1
Accessibility & contrast
On white
3.36
#9D7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#9D7CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7CD2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7CD2 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#658CD5
Deuteranopia (green-blind)
#6C8CD0
Tritanopia (blue-blind)
#938B9D
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9d7cd2; /* rgb */ color: rgb(157, 124, 210); /* oklch */ color: oklch(65.2% 0.129 300.6);
Tailwind
colors: {
custom: {
50: '#bba2e0',
500: '#9d7cd2',
950: '#000000',
},
}SCSS
$custom: #9d7cd2; $custom-light: #bba2e0; $custom-dark: #000000;
JSON
{
"hex": "#9d7cd2",
"rgb": {
"r": 157,
"g": 124,
"b": 210
},
"hsl": {
"h": 263.023,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.65238,
"c": 0.1288,
"h": 300.6
},
"luminance": 0.26237
}Semantic roles & 50–950 ramp
primary
#9D7CD2
secondary
#D8E3C6
accent
#BC2984
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83