#8A56E3#8A56E3
#8A56E3 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.204 H 296.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A56E3 |
|---|---|
| RGB | rgb(138, 86, 227) |
| HSL | hsl(262, 72%, 61%) |
| HSV | hsv(262, 62%, 89%) |
| CMYK | cmyk(39.2%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(49.01, 51.16, -64.22) |
| CIE-LCH | lch(49.01, 82.11, 308.54°) |
| OKLab | oklab(58.25% 0.0912 -0.183) |
| OKLCH | oklch(58.25% 0.204 296.5) |
| XYZ | xyz(27.6706, 17.6044, 74.5983) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 0.58
Lightish Purple
#A552E6
ΔE00 4.86
Lighter Purple
#A55AF4
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.91
Mediumslateblue
#7B68EE
ΔE00 6.04
Slate Blue
#6A5ACD
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A56E3 #AFE356
analogous
#5669E3 #8A56E3 #D156E3
triadic
#8A56E3 #E38A56 #56E38A
tetradic
#8A56E3 #E35669 #AFE356 #56E3D1
square
#8A56E3 #E35669 #AFE356 #56E3D1
split-complementary
#8A56E3 #E3D156 #69E356
monochromatic
#4D1BA4 #6624D8 #8A56E3 #AE8BEC #D3BFF4
Accessibility & contrast
On white
4.64
#8A56E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#8A56E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A56E3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A56E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A56E3 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#747695
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a56e3; /* rgb */ color: rgb(138, 86, 227); /* oklch */ color: oklch(58.2% 0.204 296.5);
Tailwind
colors: {
custom: {
50: '#b288ed',
500: '#8a56e3',
950: '#000000',
},
}SCSS
$custom: #8a56e3; $custom-light: #b288ed; $custom-dark: #000000;
JSON
{
"hex": "#8a56e3",
"rgb": {
"r": 138,
"g": 86,
"b": 227
},
"hsl": {
"h": 262.128,
"s": 71.574,
"l": 61.373
},
"oklch": {
"l": 0.58245,
"c": 0.20441,
"h": 296.5
},
"luminance": 0.17605
}Semantic roles & 50–950 ramp
primary
#8A56E3
secondary
#D1E5B0
accent
#D4128C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84