#9B7AFE#9B7AFE
#9B7AFE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.189 H 292.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7AFE |
|---|---|
| RGB | rgb(155, 122, 254) |
| HSL | hsl(255, 99%, 74%) |
| HSV | hsv(255, 52%, 100%) |
| CMYK | cmyk(39%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(59.93, 42.24, -61.63) |
| CIE-LCH | lch(59.93, 74.71, 304.43°) |
| OKLab | oklab(67.19% 0.0709 -0.1748) |
| OKLCH | oklch(67.19% 0.189 292.1) |
| XYZ | xyz(38.3617, 28.0424, 97.1383) |
| Luminance | 0.2804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.63
Lavender Blue
#8B88F8
ΔE00 5.62
Light Urple
#B36FF6
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 5.83
Perrywinkle
#8F8CE7
ΔE00 7.09
Easter Purple
#C071FE
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7AFE #DDFE7A
analogous
#7A9BFE #9B7AFE #DD7AFE
triadic
#9B7AFE #FE9B7A #7AFE9B
tetradic
#9B7AFE #FE7A9B #DDFE7A #7AFEDD
square
#9B7AFE #FE7A9B #DDFE7A #7AFEDD
split-complementary
#9B7AFE #FEDD7A #9BFE7A
monochromatic
#4002FC #6D3DFE #9B7AFE #C9B7FE #E8E1FF
Accessibility & contrast
On white
3.18
#9B7AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#9B7AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7AFE
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7AFE | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#8195B1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b7afe; /* rgb */ color: rgb(155, 122, 254); /* oklch */ color: oklch(67.2% 0.189 292.1);
Tailwind
colors: {
custom: {
50: '#bda1ff',
500: '#9b7afe',
950: '#000000',
},
}SCSS
$custom: #9b7afe; $custom-light: #bda1ff; $custom-dark: #000000;
JSON
{
"hex": "#9b7afe",
"rgb": {
"r": 155,
"g": 122,
"b": 254
},
"hsl": {
"h": 255,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.67192,
"c": 0.18861,
"h": 292.1
},
"luminance": 0.28043
}Semantic roles & 50–950 ramp
primary
#9B7AFE
secondary
#EEF7D4
accent
#E600AC
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86