#9C7CD4#9C7CD4
#9C7CD4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.131 H 299.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7CD4 |
|---|---|
| RGB | rgb(156, 124, 212) |
| HSL | hsl(262, 51%, 66%) |
| HSV | hsv(262, 42%, 83%) |
| CMYK | cmyk(26.4%, 41.5%, 0%, 16.9%) |
| CIE-LAB | lab(58.26, 30.62, -40.89) |
| CIE-LCH | lch(58.26, 51.08, 306.82°) |
| OKLab | oklab(65.25% 0.0647 -0.1142) |
| OKLCH | oklch(65.25% 0.131 299.5) |
| XYZ | xyz(32.7989, 26.2365, 65.6108) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.42
Deep Lilac
#966EBD
ΔE00 5.53
Wisteria
#A87DC2
ΔE00 5.57
Light Urple
#B36FF6
ΔE00 7.22
Perrywinkle
#8F8CE7
ΔE00 7.49
Light Purple
#BF77F6
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7CD4 #B4D47C
analogous
#7C88D4 #9C7CD4 #C87CD4
triadic
#9C7CD4 #D49C7C #7CD49C
tetradic
#9C7CD4 #D47C88 #B4D47C #7CD4C8
square
#9C7CD4 #D47C88 #B4D47C #7CD4C8
split-complementary
#9C7CD4 #D4C87C #88D47C
monochromatic
#5C35A1 #794EC5 #9C7CD4 #BFAAE3 #E2D8F2
Accessibility & contrast
On white
3.36
#9C7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#9C7CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7CD4
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7CD4 | 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)
#648CD7
Deuteranopia (green-blind)
#6A8BD2
Tritanopia (blue-blind)
#918B9E
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c7cd4; /* rgb */ color: rgb(156, 124, 212); /* oklch */ color: oklch(65.2% 0.131 299.5);
Tailwind
colors: {
custom: {
50: '#bba2e1',
500: '#9c7cd4',
950: '#000000',
},
}SCSS
$custom: #9c7cd4; $custom-light: #bba2e1; $custom-dark: #000000;
JSON
{
"hex": "#9c7cd4",
"rgb": {
"r": 156,
"g": 124,
"b": 212
},
"hsl": {
"h": 261.818,
"s": 50.575,
"l": 65.882
},
"oklch": {
"l": 0.65246,
"c": 0.13125,
"h": 299.5
},
"luminance": 0.26237
}Semantic roles & 50–950 ramp
primary
#9C7CD4
secondary
#DAE4C7
accent
#BE2887
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83