#8B5CCF#8B5CCF
#8B5CCF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.172 H 299.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5CCF |
|---|---|
| RGB | rgb(139, 92, 207) |
| HSL | hsl(265, 55%, 59%) |
| HSV | hsv(265, 56%, 81%) |
| CMYK | cmyk(32.9%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(49.07, 43.01, -52.75) |
| CIE-LCH | lch(49.07, 68.06, 309.19°) |
| OKLab | oklab(57.9% 0.0858 -0.1492) |
| OKLCH | oklch(57.9% 0.172 299.9) |
| XYZ | xyz(25.7344, 17.6481, 61.0700) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.62
Deep Lavender
#8D5EB7
ΔE00 4.52
Amethyst
#9B5FC0
ΔE00 5.03
Lightish Purple
#A552E6
ΔE00 5.53
Light Indigo
#6D5ACF
ΔE00 5.98
Mediumpurple
#9370DB
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5CCF #A0CF5C
analogous
#5C66CF #8B5CCF #C45CCF
triadic
#8B5CCF #CF8B5C #5CCF8B
tetradic
#8B5CCF #CF5C66 #A0CF5C #5CCFC4
square
#8B5CCF #CF5C66 #A0CF5C #5CCFC4
split-complementary
#8B5CCF #CFC45C #66CF5C
monochromatic
#502888 #6B36B8 #8B5CCF #AD8BDD #CEBBEB
Accessibility & contrast
On white
4.64
#8B5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#8B5CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8B5CCF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B5CCF | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#7D738D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8b5ccf; /* rgb */ color: rgb(139, 92, 207); /* oklch */ color: oklch(57.9% 0.172 299.9);
Tailwind
colors: {
custom: {
50: '#b18cde',
500: '#8b5ccf',
950: '#000000',
},
}SCSS
$custom: #8b5ccf; $custom-light: #b18cde; $custom-dark: #000000;
JSON
{
"hex": "#8b5ccf",
"rgb": {
"r": 139,
"g": 92,
"b": 207
},
"hsl": {
"h": 264.522,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.579,
"c": 0.17215,
"h": 299.9
},
"luminance": 0.17648
}Semantic roles & 50–950 ramp
primary
#8B5CCF
secondary
#C8DAAD
accent
#DE4AA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83