#9F7FF2#9F7FF2
#9F7FF2 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.166 H 294.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7FF2 |
|---|---|
| RGB | rgb(159, 127, 242) |
| HSL | hsl(257, 82%, 72%) |
| HSV | hsv(257, 48%, 95%) |
| CMYK | cmyk(34.3%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(60.75, 37.25, -53.68) |
| CIE-LCH | lch(60.75, 65.34, 304.76°) |
| OKLab | oklab(67.67% 0.0685 -0.1514) |
| OKLCH | oklch(67.67% 0.166 294.4) |
| XYZ | xyz(37.9104, 28.9598, 87.5796) |
| Luminance | 0.2896 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.33
Mediumpurple
#9370DB
ΔE00 5.45
Lavender Blue
#8B88F8
ΔE00 5.58
Light Urple
#B36FF6
ΔE00 5.68
Perrywinkle
#8F8CE7
ΔE00 5.95
Light Purple
#BF77F6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7FF2 #D2F27F
analogous
#7F98F2 #9F7FF2 #D97FF2
triadic
#9F7FF2 #F29F7F #7FF29F
tetradic
#9F7FF2 #F27F98 #D2F27F #7FF2D9
square
#9F7FF2 #F27F98 #D2F27F #7FF2D9
split-complementary
#9F7FF2 #F2D97F #98F27F
monochromatic
#4F17E0 #7547EC #9F7FF2 #C9B7F8 #EAE3FC
Accessibility & contrast
On white
3.09
#9F7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#9F7FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7FF2
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7FF2 | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#8C95AD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f7ff2; /* rgb */ color: rgb(159, 127, 242); /* oklch */ color: oklch(67.7% 0.166 294.4);
Tailwind
colors: {
custom: {
50: '#bfa4f7',
500: '#9f7ff2',
950: '#000000',
},
}SCSS
$custom: #9f7ff2; $custom-light: #bfa4f7; $custom-dark: #000000;
JSON
{
"hex": "#9f7ff2",
"rgb": {
"r": 159,
"g": 127,
"b": 242
},
"hsl": {
"h": 256.696,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.67674,
"c": 0.16619,
"h": 294.4
},
"luminance": 0.2896
}Semantic roles & 50–950 ramp
primary
#9F7FF2
secondary
#ECF4D7
accent
#DE08A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85