#9B7DF1#9B7DF1
#9B7DF1 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.168 H 293.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7DF1 |
|---|---|
| RGB | rgb(155, 125, 241) |
| HSL | hsl(256, 81%, 72%) |
| HSV | hsv(256, 48%, 95%) |
| CMYK | cmyk(35.7%, 48.1%, 0%, 5.5%) |
| CIE-LAB | lab(59.88, 37.12, -54.53) |
| CIE-LCH | lch(59.88, 65.97, 304.24°) |
| OKLab | oklab(66.92% 0.0662 -0.154) |
| OKLCH | oklch(66.92% 0.168 293.3) |
| XYZ | xyz(36.7242, 27.9859, 86.6690) |
| Luminance | 0.2799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.94
Mediumpurple
#9370DB
ΔE00 4.89
Lavender Blue
#8B88F8
ΔE00 5.34
Light Urple
#B36FF6
ΔE00 5.89
Perrywinkle
#8F8CE7
ΔE00 5.91
Light Purple
#BF77F6
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7DF1 #D3F17D
analogous
#7D99F1 #9B7DF1 #D57DF1
triadic
#9B7DF1 #F19B7D #7DF19B
tetradic
#9B7DF1 #F17D99 #D3F17D #7DF1D5
square
#9B7DF1 #F17D99 #D3F17D #7DF1D5
split-complementary
#9B7DF1 #F1D57D #99F17D
monochromatic
#4A18DC #7146EB #9B7DF1 #C6B4F7 #EAE3FC
Accessibility & contrast
On white
3.18
#9B7DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#9B7DF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7DF1
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7DF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7DF1 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F5
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#8694AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b7df1; /* rgb */ color: rgb(155, 125, 241); /* oklch */ color: oklch(66.9% 0.168 293.3);
Tailwind
colors: {
custom: {
50: '#bca3f6',
500: '#9b7df1',
950: '#000000',
},
}SCSS
$custom: #9b7df1; $custom-light: #bca3f6; $custom-dark: #000000;
JSON
{
"hex": "#9b7df1",
"rgb": {
"r": 155,
"g": 125,
"b": 241
},
"hsl": {
"h": 255.517,
"s": 80.556,
"l": 71.765
},
"oklch": {
"l": 0.66919,
"c": 0.16761,
"h": 293.3
},
"luminance": 0.27987
}Semantic roles & 50–950 ramp
primary
#9B7DF1
secondary
#ECF4D6
accent
#DD09A6
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85