#897BB2#897BB2
#897BB2 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.083 H 295.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #897BB2 |
|---|---|
| RGB | rgb(137, 123, 178) |
| HSL | hsl(255, 26%, 59%) |
| HSV | hsv(255, 31%, 70%) |
| CMYK | cmyk(23%, 30.9%, 0%, 30.2%) |
| CIE-LAB | lab(54.76, 17.20, -27.14) |
| CIE-LCH | lch(54.76, 32.13, 302.36°) |
| OKLab | oklab(61.67% 0.0359 -0.075) |
| OKLCH | oklch(61.67% 0.083 295.6) |
| XYZ | xyz(25.4335, 22.6984, 45.1521) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 6.57
Wisteria
#A87DC2
ΔE00 7.44
Faded Purple
#916E99
ΔE00 8.20
Dark Lavender
#856798
ΔE00 8.29
Dark Lilac
#9C6DA5
ΔE00 8.49
Heather
#A484AC
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897BB2 #A4B27B
analogous
#7B89B2 #897BB2 #A57BB2
triadic
#897BB2 #B2897B #7BB289
tetradic
#897BB2 #B27B89 #A4B27B #7BB2A5
square
#897BB2 #B27B89 #A4B27B #7BB2A5
split-complementary
#897BB2 #B2A57B #89B27B
monochromatic
#4E4271 #685897 #897BB2 #ACA2C9 #CEC8DF
Accessibility & contrast
On white
3.79
#897BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#897BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897BB2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897BB2 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E83B4
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#81848F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #897bb2; /* rgb */ color: rgb(137, 123, 178); /* oklch */ color: oklch(61.7% 0.083 295.6);
Tailwind
colors: {
custom: {
50: '#aca1c9',
500: '#897bb2',
950: '#000000',
},
}SCSS
$custom: #897bb2; $custom-light: #aca1c9; $custom-dark: #000000;
JSON
{
"hex": "#897bb2",
"rgb": {
"r": 137,
"g": 123,
"b": 178
},
"hsl": {
"h": 255.273,
"s": 26.316,
"l": 59.02
},
"oklch": {
"l": 0.61666,
"c": 0.08311,
"h": 295.6
},
"luminance": 0.22699
}Semantic roles & 50–950 ramp
primary
#897BB2
secondary
#CACFBA
accent
#C365AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82