#892AB5#892AB5
#892AB5 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.210 H 312.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #892AB5 |
|---|---|
| RGB | rgb(137, 42, 181) |
| HSL | hsl(281, 62%, 44%) |
| HSV | hsv(281, 77%, 71%) |
| CMYK | cmyk(24.3%, 76.8%, 0%, 29%) |
| CIE-LAB | lab(38.39, 60.35, -54.83) |
| CIE-LCH | lch(38.39, 81.54, 317.75°) |
| OKLab | oklab(49.6% 0.141 -0.1552) |
| OKLCH | oklch(49.6% 0.21 312.3) |
| XYZ | xyz(19.4834, 10.3110, 44.6710) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.46
Purple (survey)
#7E1E9C
ΔE00 4.64
Darkorchid
#9932CC
ΔE00 4.69
Purply
#983FB2
ΔE00 5.45
Barney
#AC1DB8
ΔE00 6.34
Blueviolet
#8A2BE2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892AB5 #56B52A
analogous
#432AB5 #892AB5 #B52A9B
triadic
#892AB5 #B5892A #2AB589
tetradic
#892AB5 #B5432A #56B52A #2A9BB5
square
#892AB5 #B5432A #56B52A #2A9BB5
split-complementary
#892AB5 #9BB52A #2AB543
monochromatic
#3E1352 #631E83 #892AB5 #A848D4 #C079E0
Accessibility & contrast
On white
6.86
#892AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#892AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #892AB5
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892AB5 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#844B6F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #892ab5; /* rgb */ color: rgb(137, 42, 181); /* oklch */ color: oklch(49.6% 0.210 312.3);
Tailwind
colors: {
custom: {
50: '#b06ecc',
500: '#892ab5',
950: '#000000',
},
}SCSS
$custom: #892ab5; $custom-light: #b06ecc; $custom-dark: #000000;
JSON
{
"hex": "#892ab5",
"rgb": {
"r": 137,
"g": 42,
"b": 181
},
"hsl": {
"h": 281.007,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.49601,
"c": 0.20964,
"h": 312.3
},
"luminance": 0.1031
}Semantic roles & 50–950 ramp
primary
#892AB5
secondary
#8EC873
accent
#E54276
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82