#9F7EFA#9F7EFA
#9F7EFA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.178 H 293.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7EFA |
|---|---|
| RGB | rgb(159, 126, 250) |
| HSL | hsl(256, 93%, 74%) |
| HSV | hsv(256, 50%, 98%) |
| CMYK | cmyk(36.4%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(60.95, 39.89, -57.76) |
| CIE-LCH | lch(60.95, 70.20, 304.62°) |
| OKLab | oklab(67.97% 0.0705 -0.1634) |
| OKLCH | oklch(67.97% 0.178 293.4) |
| XYZ | xyz(39.0097, 29.1939, 94.0036) |
| Luminance | 0.2919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.82
Lavender Blue
#8B88F8
ΔE00 5.43
Light Urple
#B36FF6
ΔE00 5.63
Mediumpurple
#9370DB
ΔE00 6.01
Perrywinkle
#8F8CE7
ΔE00 6.41
Light Purple
#BF77F6
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7EFA #D9FA7E
analogous
#7E9BFA #9F7EFA #DD7EFA
triadic
#9F7EFA #FA9F7E #7EFA9F
tetradic
#9F7EFA #FA7E9B #D9FA7E #7EFADD
square
#9F7EFA #FA7E9B #D9FA7E #7EFADD
split-complementary
#9F7EFA #FADD7E #9BFA7E
monochromatic
#4809F4 #7343F8 #9F7EFA #CBB9FC #E9E2FE
Accessibility & contrast
On white
3.07
#9F7EFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#9F7EFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7EFA
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7EFA | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E95FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#8997B0
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f7efa; /* rgb */ color: rgb(159, 126, 250); /* oklch */ color: oklch(68.0% 0.178 293.4);
Tailwind
colors: {
custom: {
50: '#bfa4fc',
500: '#9f7efa',
950: '#000000',
},
}SCSS
$custom: #9f7efa; $custom-light: #bfa4fc; $custom-dark: #000000;
JSON
{
"hex": "#9f7efa",
"rgb": {
"r": 159,
"g": 126,
"b": 250
},
"hsl": {
"h": 255.968,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.67969,
"c": 0.17794,
"h": 293.4
},
"luminance": 0.29195
}Semantic roles & 50–950 ramp
primary
#9F7EFA
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86