#8B5FF1#8B5FF1
#8B5FF1 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.209 H 293.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5FF1 |
|---|---|
| RGB | rgb(139, 95, 241) |
| HSL | hsl(258, 84%, 66%) |
| HSV | hsv(258, 61%, 95%) |
| CMYK | cmyk(42.3%, 60.6%, 0%, 5.5%) |
| CIE-LAB | lab(51.86, 50.22, -67.48) |
| CIE-LCH | lch(51.86, 84.11, 306.66°) |
| OKLab | oklab(60.64% 0.0817 -0.1925) |
| OKLCH | oklch(60.64% 0.209 293) |
| XYZ | xyz(30.6125, 20.0234, 85.4540) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.30
Mediumslateblue
#7B68EE
ΔE00 3.75
Lighter Purple
#A55AF4
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 5.90
Light Indigo
#6D5ACF
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5FF1 #C5F15F
analogous
#5F7CF1 #8B5FF1 #D45FF1
triadic
#8B5FF1 #F18B5F #5FF18B
tetradic
#8B5FF1 #F15F7C #C5F15F #5FF1D4
square
#8B5FF1 #F15F7C #C5F15F #5FF1D4
split-complementary
#8B5FF1 #F1D45F #7CF15F
monochromatic
#4711C4 #6227EC #8B5FF1 #B497F6 #DDD0FB
Accessibility & contrast
On white
4.20
#8B5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8B5FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B5FF1
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B5FF1 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#6F809F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b5ff1; /* rgb */ color: rgb(139, 95, 241); /* oklch */ color: oklch(60.6% 0.209 293.0);
Tailwind
colors: {
custom: {
50: '#b38ef6',
500: '#8b5ff1',
950: '#000000',
},
}SCSS
$custom: #8b5ff1; $custom-light: #b38ef6; $custom-dark: #000000;
JSON
{
"hex": "#8b5ff1",
"rgb": {
"r": 139,
"g": 95,
"b": 241
},
"hsl": {
"h": 258.082,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.60642,
"c": 0.20912,
"h": 293
},
"luminance": 0.20024
}Semantic roles & 50–950 ramp
primary
#8B5FF1
secondary
#DFEEBE
accent
#E0059E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85