#8B45FF#8B45FF
#8B45FF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.4% C 0.255 H 294.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8B45FF |
|---|---|
| RGB | rgb(139, 69, 255) |
| HSL | hsl(263, 100%, 64%) |
| HSV | hsv(263, 73%, 100%) |
| CMYK | cmyk(45.5%, 72.9%, 0%, 0%) |
| CIE-LAB | lab(48.22, 66.72, -81.22) |
| CIE-LCH | lch(48.22, 105.11, 309.40°) |
| OKLab | oklab(58.35% 0.1045 -0.2328) |
| OKLCH | oklch(58.35% 0.255 294.2) |
| XYZ | xyz(30.8206, 16.9643, 96.2389) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.30
Electric Purple
#AA23FF
ΔE00 5.23
Bright Violet
#AD0AFD
ΔE00 6.27
Bluish Purple
#703BE7
ΔE00 6.30
Lightish Purple
#A552E6
ΔE00 6.44
Vivid Purple
#9900FA
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B45FF #B9FF45
analogous
#455CFF #8B45FF #E845FF
triadic
#8B45FF #FF8B45 #45FF8B
tetradic
#8B45FF #FF455C #B9FF45 #45FFE8
square
#8B45FF #FF455C #B9FF45 #45FFE8
split-complementary
#8B45FF #FFE845 #5CFF45
monochromatic
#4C00CA #6508FF #8B45FF #B182FF #D7BFFF
Accessibility & contrast
On white
4.78
#8B45FF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#8B45FF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B45FF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B45FF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B45FF | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006FFB
Tritanopia (blue-blind)
#69769F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8b45ff; /* rgb */ color: rgb(139, 69, 255); /* oklch */ color: oklch(58.4% 0.255 294.2);
Tailwind
colors: {
custom: {
50: '#b67fff',
500: '#8b45ff',
950: '#000000',
},
}SCSS
$custom: #8b45ff; $custom-light: #b67fff; $custom-dark: #000000;
JSON
{
"hex": "#8b45ff",
"rgb": {
"r": 139,
"g": 69,
"b": 255
},
"hsl": {
"h": 262.581,
"s": 100,
"l": 63.529
},
"oklch": {
"l": 0.58351,
"c": 0.2552,
"h": 294.2
},
"luminance": 0.16965
}Semantic roles & 50–950 ramp
primary
#8B45FF
secondary
#D8F1AF
accent
#E6008F
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#120B18
muted
#817C86