#9C7AE3#9C7AE3
#9C7AE3 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.7% C 0.154 H 296.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7AE3 |
|---|---|
| RGB | rgb(156, 122, 227) |
| HSL | hsl(259, 65%, 68%) |
| HSV | hsv(259, 46%, 89%) |
| CMYK | cmyk(31.3%, 46.3%, 0%, 11%) |
| CIE-LAB | lab(58.54, 35.49, -48.86) |
| CIE-LCH | lch(58.54, 60.39, 305.99°) |
| OKLab | oklab(65.7% 0.0697 -0.1374) |
| OKLCH | oklch(65.7% 0.154 296.9) |
| XYZ | xyz(34.5316, 26.5326, 75.9602) |
| Luminance | 0.2653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.32
Light Urple
#B36FF6
ΔE00 5.53
Periwinkle (survey)
#8E82FE
ΔE00 6.12
Light Purple
#BF77F6
ΔE00 6.74
Perrywinkle
#8F8CE7
ΔE00 6.92
Lavender Blue
#8B88F8
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7AE3 #C1E37A
analogous
#7A8CE3 #9C7AE3 #D07AE3
triadic
#9C7AE3 #E39C7A #7AE39C
tetradic
#9C7AE3 #E37A8C #C1E37A #7AE3D0
square
#9C7AE3 #E37A8C #C1E37A #7AE3D0
split-complementary
#9C7AE3 #E3D07A #8CE37A
monochromatic
#5727BB #7647D8 #9C7AE3 #C2ADEE #E7DFF8
Accessibility & contrast
On white
3.33
#9C7AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#9C7AE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7AE3
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7AE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7AE3 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588DE7
Deuteranopia (green-blind)
#5F8CE0
Tritanopia (blue-blind)
#8D8EA4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c7ae3; /* rgb */ color: rgb(156, 122, 227); /* oklch */ color: oklch(65.7% 0.154 296.9);
Tailwind
colors: {
custom: {
50: '#bca1ec',
500: '#9c7ae3',
950: '#000000',
},
}SCSS
$custom: #9c7ae3; $custom-light: #bca1ec; $custom-dark: #000000;
JSON
{
"hex": "#9c7ae3",
"rgb": {
"r": 156,
"g": 122,
"b": 227
},
"hsl": {
"h": 259.429,
"s": 65.217,
"l": 68.431
},
"oklch": {
"l": 0.65699,
"c": 0.15406,
"h": 296.9
},
"luminance": 0.26533
}Semantic roles & 50–950 ramp
primary
#9C7AE3
secondary
#E2ECCD
accent
#CD1893
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F16
muted
#817E84