#892CA5#892CA5
#892CA5 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 317.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #892CA5 |
|---|---|
| RGB | rgb(137, 44, 165) |
| HSL | hsl(286, 58%, 41%) |
| HSV | hsv(286, 73%, 65%) |
| CMYK | cmyk(17%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(37.55, 56.36, -46.66) |
| CIE-LCH | lch(37.55, 73.17, 320.38°) |
| OKLab | oklab(48.65% 0.1414 -0.1312) |
| OKLCH | oklch(48.65% 0.193 317.1) |
| XYZ | xyz(18.0077, 9.8371, 36.5402) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.38
Purply
#983FB2
ΔE00 5.25
Warm Purple
#952E8F
ΔE00 5.73
Barney Purple
#A00498
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.06
Barney
#AC1DB8
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892CA5 #48A52C
analogous
#4C2CA5 #892CA5 #A52C84
triadic
#892CA5 #A5892C #2CA589
tetradic
#892CA5 #A54C2C #48A52C #2C84A5
square
#892CA5 #A54C2C #48A52C #2C84A5
split-complementary
#892CA5 #84A52C #2CA54C
monochromatic
#391244 #611F75 #892CA5 #AC42CD #C172D9
Accessibility & contrast
On white
7.08
#892CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#892CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892CA5
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892CA5 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#884566
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #892ca5; /* rgb */ color: rgb(137, 44, 165); /* oklch */ color: oklch(48.7% 0.193 317.1);
Tailwind
colors: {
custom: {
50: '#af6ec0',
500: '#892ca5',
950: '#000000',
},
}SCSS
$custom: #892ca5; $custom-light: #af6ec0; $custom-dark: #000000;
JSON
{
"hex": "#892ca5",
"rgb": {
"r": 137,
"g": 44,
"b": 165
},
"hsl": {
"h": 286.116,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.48651,
"c": 0.1929,
"h": 317.1
},
"luminance": 0.09836
}Semantic roles & 50–950 ramp
primary
#892CA5
secondary
#80C16C
accent
#E1476A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81