#9F7EFE#9F7EFE
#9F7EFE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.183 H 292.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7EFE |
|---|---|
| RGB | rgb(159, 126, 254) |
| HSL | hsl(255, 98%, 75%) |
| HSV | hsv(255, 50%, 100%) |
| CMYK | cmyk(37.4%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(61.17, 40.93, -59.61) |
| CIE-LCH | lch(61.17, 72.31, 304.48°) |
| OKLab | oklab(68.21% 0.0709 -0.1688) |
| OKLCH | oklch(68.21% 0.183 292.8) |
| XYZ | xyz(39.6436, 29.4474, 97.3419) |
| Luminance | 0.2945 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.65
Lavender Blue
#8B88F8
ΔE00 5.37
Light Urple
#B36FF6
ΔE00 5.79
Mediumpurple
#9370DB
ΔE00 6.42
Perrywinkle
#8F8CE7
ΔE00 6.59
Light Purple
#BF77F6
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7EFE #DDFE7E
analogous
#7E9DFE #9F7EFE #DF7EFE
triadic
#9F7EFE #FE9F7E #7EFE9F
tetradic
#9F7EFE #FE7E9D #DDFE7E #7EFEDF
square
#9F7EFE #FE7E9D #DDFE7E #7EFEDF
split-complementary
#9F7EFE #FEDF7E #9DFE7E
monochromatic
#4505FD #7241FE #9F7EFE #CCBBFE #E8E1FF
Accessibility & contrast
On white
3.05
#9F7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#9F7EFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7EFE
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7EFE | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#8798B2
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9f7efe; /* rgb */ color: rgb(159, 126, 254); /* oklch */ color: oklch(68.2% 0.183 292.8);
Tailwind
colors: {
custom: {
50: '#c0a4ff',
500: '#9f7efe',
950: '#000000',
},
}SCSS
$custom: #9f7efe; $custom-light: #c0a4ff; $custom-dark: #000000;
JSON
{
"hex": "#9f7efe",
"rgb": {
"r": 159,
"g": 126,
"b": 254
},
"hsl": {
"h": 255.469,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.68206,
"c": 0.18304,
"h": 292.8
},
"luminance": 0.29448
}Semantic roles & 50–950 ramp
primary
#9F7EFE
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86