#9C7FD4#9C7FD4
#9C7FD4 is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.8% C 0.126 H 298.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7FD4 |
|---|---|
| RGB | rgb(156, 127, 212) |
| HSL | hsl(260, 50%, 66%) |
| HSV | hsv(260, 40%, 83%) |
| CMYK | cmyk(26.4%, 40.1%, 0%, 16.9%) |
| CIE-LAB | lab(58.97, 28.90, -39.77) |
| CIE-LCH | lch(58.97, 49.16, 306.00°) |
| OKLab | oklab(65.79% 0.0605 -0.111) |
| OKLCH | oklch(65.79% 0.126 298.6) |
| XYZ | xyz(33.1806, 26.9999, 65.7380) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.19
Wisteria
#A87DC2
ΔE00 5.56
Deep Lilac
#966EBD
ΔE00 6.18
Perrywinkle
#8F8CE7
ΔE00 6.90
Pale Purple
#B790D4
ΔE00 7.62
Light Urple
#B36FF6
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7FD4 #B7D47F
analogous
#7F8DD4 #9C7FD4 #C77FD4
triadic
#9C7FD4 #D49C7F #7FD49C
tetradic
#9C7FD4 #D47F8D #B7D47F #7FD4C7
square
#9C7FD4 #D47F8D #B7D47F #7FD4C7
split-complementary
#9C7FD4 #D4C77F #8DD47F
monochromatic
#5B36A2 #7951C5 #9C7FD4 #BFADE3 #E3DBF3
Accessibility & contrast
On white
3.28
#9C7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#9C7FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7FD4
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7FD4 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#6E8DD2
Tritanopia (blue-blind)
#918E9F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c7fd4; /* rgb */ color: rgb(156, 127, 212); /* oklch */ color: oklch(65.8% 0.126 298.6);
Tailwind
colors: {
custom: {
50: '#bba4e1',
500: '#9c7fd4',
950: '#000000',
},
}SCSS
$custom: #9c7fd4; $custom-light: #bba4e1; $custom-dark: #000000;
JSON
{
"hex": "#9c7fd4",
"rgb": {
"r": 156,
"g": 127,
"b": 212
},
"hsl": {
"h": 260.471,
"s": 49.708,
"l": 66.471
},
"oklch": {
"l": 0.65786,
"c": 0.12638,
"h": 298.6
},
"luminance": 0.27
}Semantic roles & 50–950 ramp
primary
#9C7FD4
secondary
#DCE5CA
accent
#BD288A
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83