#9D7FF7#9D7FF7
#9D7FF7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.173 H 292.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7FF7 |
|---|---|
| RGB | rgb(157, 127, 247) |
| HSL | hsl(255, 88%, 73%) |
| HSV | hsv(255, 49%, 97%) |
| CMYK | cmyk(36.4%, 48.6%, 0%, 3.1%) |
| CIE-LAB | lab(60.84, 38.05, -56.31) |
| CIE-LCH | lch(60.84, 67.96, 304.05°) |
| OKLab | oklab(67.79% 0.0666 -0.1591) |
| OKLCH | oklch(67.79% 0.173 292.7) |
| XYZ | xyz(38.2781, 29.0614, 91.5703) |
| Luminance | 0.2906 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.53
Lavender Blue
#8B88F8
ΔE00 5.00
Perrywinkle
#8F8CE7
ΔE00 5.84
Mediumpurple
#9370DB
ΔE00 5.86
Light Urple
#B36FF6
ΔE00 6.05
Light Purple
#BF77F6
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7FF7 #D9F77F
analogous
#7F9DF7 #9D7FF7 #D97FF7
triadic
#9D7FF7 #F79D7F #7FF79D
tetradic
#9D7FF7 #F77F9D #D9F77F #7FF7D9
square
#9D7FF7 #F77F9D #D9F77F #7FF7D9
split-complementary
#9D7FF7 #F7D97F #9DF77F
monochromatic
#460FED #7145F3 #9D7FF7 #C9B9FB #E9E2FD
Accessibility & contrast
On white
3.08
#9D7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#9D7FF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7FF7
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7FF7 | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#8797AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9d7ff7; /* rgb */ color: rgb(157, 127, 247); /* oklch */ color: oklch(67.8% 0.173 292.7);
Tailwind
colors: {
custom: {
50: '#bea4fa',
500: '#9d7ff7',
950: '#000000',
},
}SCSS
$custom: #9d7ff7; $custom-light: #bea4fa; $custom-dark: #000000;
JSON
{
"hex": "#9d7ff7",
"rgb": {
"r": 157,
"g": 127,
"b": 247
},
"hsl": {
"h": 255,
"s": 88.235,
"l": 73.333
},
"oklch": {
"l": 0.67786,
"c": 0.17253,
"h": 292.7
},
"luminance": 0.29062
}Semantic roles & 50–950 ramp
primary
#9D7FF7
secondary
#EDF5D6
accent
#E501AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85