#8B5FEF#8B5FEF
#8B5FEF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.207 H 293.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5FEF |
|---|---|
| RGB | rgb(139, 95, 239) |
| HSL | hsl(258, 82%, 65%) |
| HSV | hsv(258, 60%, 94%) |
| CMYK | cmyk(41.8%, 60.3%, 0%, 6.3%) |
| CIE-LAB | lab(51.73, 49.69, -66.57) |
| CIE-LCH | lch(51.73, 83.07, 306.73°) |
| OKLab | oklab(60.5% 0.0818 -0.1898) |
| OKLCH | oklch(60.5% 0.207 293.3) |
| XYZ | xyz(30.3154, 19.9046, 83.8893) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.12
Mediumslateblue
#7B68EE
ΔE00 3.79
Lighter Purple
#A55AF4
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 5.78
Light Indigo
#6D5ACF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5FEF #C3EF5F
analogous
#5F7BEF #8B5FEF #D35FEF
triadic
#8B5FEF #EF8B5F #5FEF8B
tetradic
#8B5FEF #EF5F7B #C3EF5F #5FEFD3
square
#8B5FEF #EF5F7B #C3EF5F #5FEFD3
split-complementary
#8B5FEF #EFD35F #7BEF5F
monochromatic
#4813C0 #6327E9 #8B5FEF #B397F5 #DCCEFA
Accessibility & contrast
On white
4.22
#8B5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#8B5FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B5FEF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B5FEF | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#707F9E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8b5fef; /* rgb */ color: rgb(139, 95, 239); /* oklch */ color: oklch(60.5% 0.207 293.3);
Tailwind
colors: {
custom: {
50: '#b38ef5',
500: '#8b5fef',
950: '#000000',
},
}SCSS
$custom: #8b5fef; $custom-light: #b38ef5; $custom-dark: #000000;
JSON
{
"hex": "#8b5fef",
"rgb": {
"r": 139,
"g": 95,
"b": 239
},
"hsl": {
"h": 258.333,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.60501,
"c": 0.20673,
"h": 293.3
},
"luminance": 0.19905
}Semantic roles & 50–950 ramp
primary
#8B5FEF
secondary
#DEEDBD
accent
#DE079D
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85