#892BAB#892BAB
#892BAB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.199 H 315.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #892BAB |
|---|---|
| RGB | rgb(137, 43, 171) |
| HSL | hsl(284, 60%, 42%) |
| HSV | hsv(284, 75%, 67%) |
| CMYK | cmyk(19.9%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.82, 57.94, -49.81) |
| CIE-LCH | lch(37.82, 76.41, 319.31°) |
| OKLab | oklab(48.97% 0.1417 -0.1404) |
| OKLCH | oklch(48.97% 0.199 315.2) |
| XYZ | xyz(18.5299, 9.9871, 39.4718) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.65
Purply
#983FB2
ΔE00 5.22
Darkorchid
#9932CC
ΔE00 5.76
Darkviolet
#9400D3
ΔE00 5.86
Barney
#AC1DB8
ΔE00 6.19
Barney Purple
#A00498
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892BAB #4DAB2B
analogous
#492BAB #892BAB #AB2B8D
triadic
#892BAB #AB892B #2BAB89
tetradic
#892BAB #AB492B #4DAB2B #2B8DAB
square
#892BAB #AB492B #4DAB2B #2B8DAB
split-complementary
#892BAB #8DAB2B #2BAB49
monochromatic
#3B1249 #621F7A #892BAB #AB43D0 #C174DC
Accessibility & contrast
On white
7.01
#892BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#892BAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #892BAB
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892BAB | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#275BA8
Tritanopia (blue-blind)
#864769
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #892bab; /* rgb */ color: rgb(137, 43, 171); /* oklch */ color: oklch(49.0% 0.199 315.2);
Tailwind
colors: {
custom: {
50: '#b06ec5',
500: '#892bab',
950: '#000000',
},
}SCSS
$custom: #892bab; $custom-light: #b06ec5; $custom-dark: #000000;
JSON
{
"hex": "#892bab",
"rgb": {
"r": 137,
"g": 43,
"b": 171
},
"hsl": {
"h": 284.063,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.48971,
"c": 0.19948,
"h": 315.2
},
"luminance": 0.09986
}Semantic roles & 50–950 ramp
primary
#892BAB
secondary
#85C46E
accent
#E3456F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82