#895EBB#895EBB
#895EBB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.144 H 303.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #895EBB |
|---|---|
| RGB | rgb(137, 94, 187) |
| HSL | hsl(268, 41%, 55%) |
| HSV | hsv(268, 50%, 73%) |
| CMYK | cmyk(26.7%, 49.7%, 0%, 26.7%) |
| CIE-LAB | lab(48.15, 36.37, -42.71) |
| CIE-LCH | lch(48.15, 56.09, 310.41°) |
| OKLab | oklab(56.8% 0.0794 -0.1199) |
| OKLCH | oklch(56.8% 0.144 303.5) |
| XYZ | xyz(23.2869, 16.9117, 49.0415) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.38
Amethyst
#9B5FC0
ΔE00 3.86
Royal Purple
#7851A9
ΔE00 5.53
Deep Lilac
#966EBD
ΔE00 5.80
Purpley
#8756E4
ΔE00 6.97
Light Indigo
#6D5ACF
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#895EBB #90BB5E
analogous
#5E62BB #895EBB #B75EBB
triadic
#895EBB #BB895E #5EBB89
tetradic
#895EBB #BB5E62 #90BB5E #5EBBB7
square
#895EBB #BB5E62 #90BB5E #5EBBB7
split-complementary
#895EBB #BBB75E #62BB5E
monochromatic
#4D2F70 #6B419B #895EBB #A989CD #C8B4DF
Accessibility & contrast
On white
4.79
#895EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#895EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #895EBB
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##895EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##895EBB | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#806F84
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #895ebb; /* rgb */ color: rgb(137, 94, 187); /* oklch */ color: oklch(56.8% 0.144 303.5);
Tailwind
colors: {
custom: {
50: '#ae8dd0',
500: '#895ebb',
950: '#000000',
},
}SCSS
$custom: #895ebb; $custom-light: #ae8dd0; $custom-dark: #000000;
JSON
{
"hex": "#895ebb",
"rgb": {
"r": 137,
"g": 94,
"b": 187
},
"hsl": {
"h": 267.742,
"s": 40.611,
"l": 55.098
},
"oklch": {
"l": 0.56802,
"c": 0.14377,
"h": 303.5
},
"luminance": 0.16912
}Semantic roles & 50–950 ramp
primary
#895EBB
secondary
#BCCEA7
accent
#D05798
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82