#8A54D6#8A54D6
#8A54D6 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.192 H 299.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A54D6 |
|---|---|
| RGB | rgb(138, 84, 214) |
| HSL | hsl(265, 61%, 58%) |
| HSV | hsv(265, 61%, 84%) |
| CMYK | cmyk(35.5%, 60.7%, 0%, 16.1%) |
| CIE-LAB | lab(47.75, 48.90, -58.88) |
| CIE-LCH | lch(47.75, 76.53, 309.71°) |
| OKLab | oklab(57.05% 0.0942 -0.1672) |
| OKLCH | oklch(57.05% 0.192 299.4) |
| XYZ | xyz(25.7862, 16.5987, 65.4506) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.31
Lightish Purple
#A552E6
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.73
Deep Lavender
#8D5EB7
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A54D6 #A0D654
analogous
#545FD6 #8A54D6 #CB54D6
triadic
#8A54D6 #D68A54 #54D68A
tetradic
#8A54D6 #D6545F #A0D654 #54D6CB
square
#8A54D6 #D6545F #A0D654 #54D6CB
split-complementary
#8A54D6 #D6CB54 #5FD654
monochromatic
#4F228E #6A2EBF #8A54D6 #AC85E2 #CEB7EE
Accessibility & contrast
On white
4.86
#8A54D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#8A54D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A54D6
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A54D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A54D6 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#2270D3
Tritanopia (blue-blind)
#79708D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a54d6; /* rgb */ color: rgb(138, 84, 214); /* oklch */ color: oklch(57.1% 0.192 299.4);
Tailwind
colors: {
custom: {
50: '#b187e3',
500: '#8a54d6',
950: '#000000',
},
}SCSS
$custom: #8a54d6; $custom-light: #b187e3; $custom-dark: #000000;
JSON
{
"hex": "#8a54d6",
"rgb": {
"r": 138,
"g": 84,
"b": 214
},
"hsl": {
"h": 264.923,
"s": 61.321,
"l": 58.431
},
"oklch": {
"l": 0.57052,
"c": 0.19193,
"h": 299.4
},
"luminance": 0.16599
}Semantic roles & 50–950 ramp
primary
#8A54D6
secondary
#C7DDA9
accent
#E443A2
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84