#9B7CF5#9B7CF5
#9B7CF5 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.174 H 292.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7CF5 |
|---|---|
| RGB | rgb(155, 124, 245) |
| HSL | hsl(255, 86%, 72%) |
| HSV | hsv(255, 49%, 96%) |
| CMYK | cmyk(36.7%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(59.87, 38.74, -56.76) |
| CIE-LCH | lch(59.87, 68.72, 304.31°) |
| OKLab | oklab(66.98% 0.0678 -0.1605) |
| OKLCH | oklch(66.98% 0.174 292.9) |
| XYZ | xyz(37.2023, 27.9756, 89.8083) |
| Luminance | 0.2798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.73
Mediumpurple
#9370DB
ΔE00 5.10
Lavender Blue
#8B88F8
ΔE00 5.36
Light Urple
#B36FF6
ΔE00 5.75
Perrywinkle
#8F8CE7
ΔE00 6.26
Light Purple
#BF77F6
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7CF5 #D6F57C
analogous
#7C99F5 #9B7CF5 #D87CF5
triadic
#9B7CF5 #F59B7C #7CF59B
tetradic
#9B7CF5 #F57C99 #D6F57C #7CF5D8
square
#9B7CF5 #F57C99 #D6F57C #7CF5D8
split-complementary
#9B7CF5 #F5D87C #99F57C
monochromatic
#4811E5 #7043F1 #9B7CF5 #C6B5F9 #E9E3FD
Accessibility & contrast
On white
3.18
#9B7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#9B7CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7CF5
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7CF5 | 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)
#4D92F9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#8594AD
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b7cf5; /* rgb */ color: rgb(155, 124, 245); /* oklch */ color: oklch(67.0% 0.174 292.9);
Tailwind
colors: {
custom: {
50: '#bca2f9',
500: '#9b7cf5',
950: '#000000',
},
}SCSS
$custom: #9b7cf5; $custom-light: #bca2f9; $custom-dark: #000000;
JSON
{
"hex": "#9b7cf5",
"rgb": {
"r": 155,
"g": 124,
"b": 245
},
"hsl": {
"h": 255.372,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.66983,
"c": 0.17425,
"h": 292.9
},
"luminance": 0.27976
}Semantic roles & 50–950 ramp
primary
#9B7CF5
secondary
#EDF5D6
accent
#E203A9
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85