#892BA1#892BA1
#892BA1 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 318.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #892BA1 |
|---|---|
| RGB | rgb(137, 43, 161) |
| HSL | hsl(288, 58%, 40%) |
| HSV | hsv(288, 73%, 63%) |
| CMYK | cmyk(14.9%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(37.15, 55.95, -44.89) |
| CIE-LCH | lch(37.15, 71.74, 321.26°) |
| OKLab | oklab(48.29% 0.1428 -0.126) |
| OKLCH | oklch(48.29% 0.19 318.6) |
| XYZ | xyz(17.6126, 9.6201, 34.6404) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.18
Warm Purple
#952E8F
ΔE00 5.17
Barney Purple
#A00498
ΔE00 5.28
Darkmagenta
#8B008B
ΔE00 5.45
Purply
#983FB2
ΔE00 5.57
Barney
#AC1DB8
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892BA1 #43A12B
analogous
#4E2BA1 #892BA1 #A12B7E
triadic
#892BA1 #A1892B #2BA189
tetradic
#892BA1 #A14E2B #43A12B #2B7EA1
square
#892BA1 #A14E2B #43A12B #2B7EA1
split-complementary
#892BA1 #7EA12B #2BA14E
monochromatic
#371140 #601E71 #892BA1 #AF3ECB #C36ED8
Accessibility & contrast
On white
7.18
#892BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#892BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892BA1
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892BA1 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#325A9E
Tritanopia (blue-blind)
#894364
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #892ba1; /* rgb */ color: rgb(137, 43, 161); /* oklch */ color: oklch(48.3% 0.190 318.6);
Tailwind
colors: {
custom: {
50: '#af6ebd',
500: '#892ba1',
950: '#000000',
},
}SCSS
$custom: #892ba1; $custom-light: #af6ebd; $custom-dark: #000000;
JSON
{
"hex": "#892ba1",
"rgb": {
"r": 137,
"g": 43,
"b": 161
},
"hsl": {
"h": 287.797,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.48285,
"c": 0.19045,
"h": 318.6
},
"luminance": 0.09619
}Semantic roles & 50–950 ramp
primary
#892BA1
secondary
#7ABF69
accent
#E14766
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81