#9B7DFD#9B7DFD
#9B7DFD is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.183 H 291.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7DFD |
|---|---|
| RGB | rgb(155, 125, 253) |
| HSL | hsl(254, 97%, 74%) |
| HSV | hsv(254, 51%, 99%) |
| CMYK | cmyk(38.7%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.54, 40.28, -60.09) |
| CIE-LCH | lch(60.54, 72.35, 303.83°) |
| OKLab | oklab(67.63% 0.0672 -0.1703) |
| OKLCH | oklch(67.63% 0.183 291.5) |
| XYZ | xyz(38.5760, 28.7266, 96.4218) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.12
Lavender Blue
#8B88F8
ΔE00 4.97
Mediumpurple
#9370DB
ΔE00 6.14
Light Urple
#B36FF6
ΔE00 6.17
Perrywinkle
#8F8CE7
ΔE00 6.37
Light Purple
#BF77F6
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7DFD #DFFD7D
analogous
#7D9FFD #9B7DFD #DB7DFD
triadic
#9B7DFD #FD9B7D #7DFD9B
tetradic
#9B7DFD #FD7D9F #DFFD7D #7DFDDB
square
#9B7DFD #FD7D9F #DFFD7D #7DFDDB
split-complementary
#9B7DFD #FDDB7D #9FFD7D
monochromatic
#3E04FB #6D41FC #9B7DFD #C9B9FE #E8E1FF
Accessibility & contrast
On white
3.11
#9B7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#9B7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7DFD
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7DFD | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#8197B1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b7dfd; /* rgb */ color: rgb(155, 125, 253); /* oklch */ color: oklch(67.6% 0.183 291.5);
Tailwind
colors: {
custom: {
50: '#bda3ff',
500: '#9b7dfd',
950: '#000000',
},
}SCSS
$custom: #9b7dfd; $custom-light: #bda3ff; $custom-dark: #000000;
JSON
{
"hex": "#9b7dfd",
"rgb": {
"r": 155,
"g": 125,
"b": 253
},
"hsl": {
"h": 254.063,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.6763,
"c": 0.18307,
"h": 291.5
},
"luminance": 0.28728
}Semantic roles & 50–950 ramp
primary
#9B7DFD
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86