#9B7FF3#9B7FF3
#9B7FF3 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.167 H 292.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7FF3 |
|---|---|
| RGB | rgb(155, 127, 243) |
| HSL | hsl(254, 83%, 73%) |
| HSV | hsv(254, 48%, 95%) |
| CMYK | cmyk(36.2%, 47.7%, 0%, 4.7%) |
| CIE-LAB | lab(60.44, 36.51, -54.74) |
| CIE-LCH | lch(60.44, 65.79, 303.70°) |
| OKLab | oklab(67.38% 0.0639 -0.1546) |
| OKLCH | oklch(67.38% 0.167 292.4) |
| XYZ | xyz(37.2803, 28.6175, 88.3362) |
| Luminance | 0.2862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.51
Lavender Blue
#8B88F8
ΔE00 4.83
Perrywinkle
#8F8CE7
ΔE00 5.47
Mediumpurple
#9370DB
ΔE00 5.48
Light Urple
#B36FF6
ΔE00 6.31
Light Purple
#BF77F6
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7FF3 #D7F37F
analogous
#7F9DF3 #9B7FF3 #D57FF3
triadic
#9B7FF3 #F39B7F #7FF39B
tetradic
#9B7FF3 #F37F9D #D7F37F #7FF3D5
square
#9B7FF3 #F37F9D #D7F37F #7FF3D5
split-complementary
#9B7FF3 #F3D57F #9DF37F
monochromatic
#4715E2 #6F47EE #9B7FF3 #C7B7F8 #E9E3FC
Accessibility & contrast
On white
3.12
#9B7FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#9B7FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7FF3
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7FF3 | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#5890F0
Tritanopia (blue-blind)
#8596AE
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b7ff3; /* rgb */ color: rgb(155, 127, 243); /* oklch */ color: oklch(67.4% 0.167 292.4);
Tailwind
colors: {
custom: {
50: '#bca4f7',
500: '#9b7ff3',
950: '#000000',
},
}SCSS
$custom: #9b7ff3; $custom-light: #bca4f7; $custom-dark: #000000;
JSON
{
"hex": "#9b7ff3",
"rgb": {
"r": 155,
"g": 127,
"b": 243
},
"hsl": {
"h": 254.483,
"s": 82.857,
"l": 72.549
},
"oklch": {
"l": 0.67379,
"c": 0.16726,
"h": 292.4
},
"luminance": 0.28618
}Semantic roles & 50–950 ramp
primary
#9B7FF3
secondary
#EDF4D7
accent
#DF06AB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85