#9C7EE7#9C7EE7
#9C7EE7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.153 H 295.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7EE7 |
|---|---|
| RGB | rgb(156, 126, 231) |
| HSL | hsl(257, 69%, 70%) |
| HSV | hsv(257, 45%, 91%) |
| CMYK | cmyk(32.5%, 45.5%, 0%, 9.4%) |
| CIE-LAB | lab(59.67, 34.23, -49.30) |
| CIE-LCH | lch(59.67, 60.02, 304.77°) |
| OKLab | oklab(66.62% 0.0649 -0.1387) |
| OKLCH | oklch(66.62% 0.153 295.1) |
| XYZ | xyz(35.5913, 27.7586, 79.0686) |
| Luminance | 0.2776 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.43
Periwinkle (survey)
#8E82FE
ΔE00 5.18
Perrywinkle
#8F8CE7
ΔE00 5.80
Lavender Blue
#8B88F8
ΔE00 6.09
Light Urple
#B36FF6
ΔE00 6.10
Light Purple
#BF77F6
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7EE7 #C9E77E
analogous
#7E94E7 #9C7EE7 #D17EE7
triadic
#9C7EE7 #E79C7E #7EE79C
tetradic
#9C7EE7 #E77E94 #C9E77E #7EE7D1
square
#9C7EE7 #E77E94 #C9E77E #7EE7D1
split-complementary
#9C7EE7 #E7D17E #94E77E
monochromatic
#5325C6 #744ADD #9C7EE7 #C4B2F1 #EBE5FA
Accessibility & contrast
On white
3.21
#9C7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#9C7EE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7EE7
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7EE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7EE7 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#8B92A7
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9c7ee7; /* rgb */ color: rgb(156, 126, 231); /* oklch */ color: oklch(66.6% 0.153 295.1);
Tailwind
colors: {
custom: {
50: '#bca4ef',
500: '#9c7ee7',
950: '#000000',
},
}SCSS
$custom: #9c7ee7; $custom-light: #bca4ef; $custom-dark: #000000;
JSON
{
"hex": "#9c7ee7",
"rgb": {
"r": 156,
"g": 126,
"b": 231
},
"hsl": {
"h": 257.143,
"s": 68.627,
"l": 70
},
"oklch": {
"l": 0.66615,
"c": 0.15313,
"h": 295.1
},
"luminance": 0.27759
}Semantic roles & 50–950 ramp
primary
#9C7EE7
secondary
#E7EFD2
accent
#D1159B
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84