#9D7DF7#9D7DF7
#9D7DF7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.175 H 293.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7DF7 |
|---|---|
| RGB | rgb(157, 125, 247) |
| HSL | hsl(256, 88%, 73%) |
| HSV | hsv(256, 49%, 97%) |
| CMYK | cmyk(36.4%, 49.4%, 0%, 3.1%) |
| CIE-LAB | lab(60.38, 39.18, -57.03) |
| CIE-LCH | lch(60.38, 69.19, 304.49°) |
| OKLab | oklab(67.45% 0.0691 -0.1613) |
| OKLCH | oklch(67.45% 0.175 293.2) |
| XYZ | xyz(38.0223, 28.5499, 91.4851) |
| Luminance | 0.2855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.78
Lavender Blue
#8B88F8
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.50
Light Urple
#B36FF6
ΔE00 5.65
Perrywinkle
#8F8CE7
ΔE00 6.30
Light Purple
#BF77F6
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7DF7 #D7F77D
analogous
#7D9AF7 #9D7DF7 #DA7DF7
triadic
#9D7DF7 #F79D7D #7DF79D
tetradic
#9D7DF7 #F77D9A #D7F77D #7DF7DA
square
#9D7DF7 #F77D9A #D7F77D #7DF7DA
split-complementary
#9D7DF7 #F7DA7D #9AF77D
monochromatic
#480EEB #7243F3 #9D7DF7 #C8B7FB #E9E2FD
Accessibility & contrast
On white
3.13
#9D7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#9D7DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7DF7
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7DF7 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#8795AF
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d7df7; /* rgb */ color: rgb(157, 125, 247); /* oklch */ color: oklch(67.4% 0.175 293.2);
Tailwind
colors: {
custom: {
50: '#bea3fa',
500: '#9d7df7',
950: '#000000',
},
}SCSS
$custom: #9d7df7; $custom-light: #bea3fa; $custom-dark: #000000;
JSON
{
"hex": "#9d7df7",
"rgb": {
"r": 157,
"g": 125,
"b": 247
},
"hsl": {
"h": 255.738,
"s": 88.406,
"l": 72.941
},
"oklch": {
"l": 0.67447,
"c": 0.17545,
"h": 293.2
},
"luminance": 0.28551
}Semantic roles & 50–950 ramp
primary
#9D7DF7
secondary
#EDF5D6
accent
#E500A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85