#9F7EF7#9F7EF7
#9F7EF7 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.8% C 0.174 H 293.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7EF7 |
|---|---|
| RGB | rgb(159, 126, 247) |
| HSL | hsl(256, 88%, 73%) |
| HSV | hsv(256, 49%, 97%) |
| CMYK | cmyk(35.6%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(60.79, 39.11, -56.37) |
| CIE-LCH | lch(60.79, 68.61, 304.75°) |
| OKLab | oklab(67.79% 0.0703 -0.1593) |
| OKLCH | oklch(67.79% 0.174 293.8) |
| XYZ | xyz(38.5431, 29.0072, 91.5459) |
| Luminance | 0.2901 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.01
Lavender Blue
#8B88F8
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.54
Mediumpurple
#9370DB
ΔE00 5.71
Perrywinkle
#8F8CE7
ΔE00 6.30
Light Purple
#BF77F6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7EF7 #D6F77E
analogous
#7E99F7 #9F7EF7 #DC7EF7
triadic
#9F7EF7 #F79F7E #7EF79F
tetradic
#9F7EF7 #F77E99 #D6F77E #7EF7DC
square
#9F7EF7 #F77E99 #D6F77E #7EF7DC
split-complementary
#9F7EF7 #F7DC7E #99F77E
monochromatic
#4B0FEC #7444F3 #9F7EF7 #CAB8FB #EAE2FD
Accessibility & contrast
On white
3.09
#9F7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#9F7EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7EF7
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7EF7 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#8A96AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f7ef7; /* rgb */ color: rgb(159, 126, 247); /* oklch */ color: oklch(67.8% 0.174 293.8);
Tailwind
colors: {
custom: {
50: '#bfa4fa',
500: '#9f7ef7',
950: '#000000',
},
}SCSS
$custom: #9f7ef7; $custom-light: #bfa4fa; $custom-dark: #000000;
JSON
{
"hex": "#9f7ef7",
"rgb": {
"r": 159,
"g": 126,
"b": 247
},
"hsl": {
"h": 256.364,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.67793,
"c": 0.1741,
"h": 293.8
},
"luminance": 0.29008
}Semantic roles & 50–950 ramp
primary
#9F7EF7
secondary
#EDF5D6
accent
#E501A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85