#9C7EFE#9C7EFE
#9C7EFE is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.183 H 291.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7EFE |
|---|---|
| RGB | rgb(156, 126, 254) |
| HSL | hsl(254, 98%, 75%) |
| HSV | hsv(254, 50%, 100%) |
| CMYK | cmyk(38.6%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(60.91, 40.22, -60.05) |
| CIE-LCH | lch(60.91, 72.27, 303.81°) |
| OKLab | oklab(67.94% 0.0673 -0.1701) |
| OKLCH | oklch(67.94% 0.183 291.6) |
| XYZ | xyz(39.0557, 29.1443, 97.3144) |
| Luminance | 0.2914 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.11
Lavender Blue
#8B88F8
ΔE00 4.91
Light Urple
#B36FF6
ΔE00 6.24
Perrywinkle
#8F8CE7
ΔE00 6.30
Mediumpurple
#9370DB
ΔE00 6.40
Light Purple
#BF77F6
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7EFE #E0FE7E
analogous
#7EA0FE #9C7EFE #DC7EFE
triadic
#9C7EFE #FE9C7E #7EFE9C
tetradic
#9C7EFE #FE7EA0 #E0FE7E #7EFEDC
square
#9C7EFE #FE7EA0 #E0FE7E #7EFEDC
split-complementary
#9C7EFE #FEDC7E #A0FE7E
monochromatic
#3F05FD #6D41FE #9C7EFE #CBBBFE #E8E1FF
Accessibility & contrast
On white
3.08
#9C7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#9C7EFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7EFE
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7EFE | 1.00 | 3.08 | 6.83 | 6.83 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#8298B2
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9c7efe; /* rgb */ color: rgb(156, 126, 254); /* oklch */ color: oklch(67.9% 0.183 291.6);
Tailwind
colors: {
custom: {
50: '#bea4ff',
500: '#9c7efe',
950: '#000000',
},
}SCSS
$custom: #9c7efe; $custom-light: #bea4ff; $custom-dark: #000000;
JSON
{
"hex": "#9c7efe",
"rgb": {
"r": 156,
"g": 126,
"b": 254
},
"hsl": {
"h": 254.063,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.67945,
"c": 0.18295,
"h": 291.6
},
"luminance": 0.29145
}Semantic roles & 50–950 ramp
primary
#9C7EFE
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86