#892AA3#892AA3
#892AA3 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.193 H 317.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #892AA3 |
|---|---|
| RGB | rgb(137, 42, 163) |
| HSL | hsl(287, 59%, 40%) |
| HSV | hsv(287, 74%, 64%) |
| CMYK | cmyk(16%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(37.15, 56.72, -46.10) |
| CIE-LCH | lch(37.15, 73.09, 320.90°) |
| OKLab | oklab(48.33% 0.1436 -0.1295) |
| OKLCH | oklch(48.33% 0.193 317.9) |
| XYZ | xyz(17.7544, 9.6194, 35.5648) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.08
Barney Purple
#A00498
ΔE00 5.44
Warm Purple
#952E8F
ΔE00 5.51
Purply
#983FB2
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 5.60
Barney
#AC1DB8
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892AA3 #44A32A
analogous
#4C2AA3 #892AA3 #A32A81
triadic
#892AA3 #A3892A #2AA389
tetradic
#892AA3 #A34C2A #44A32A #2A81A3
square
#892AA3 #A34C2A #44A32A #2A81A3
split-complementary
#892AA3 #81A32A #2AA34C
monochromatic
#371142 #601D72 #892AA3 #AE3DCD #C26EDA
Accessibility & contrast
On white
7.18
#892AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#892AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892AA3
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892AA3 | 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)
#0051A6
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#884364
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #892aa3; /* rgb */ color: rgb(137, 42, 163); /* oklch */ color: oklch(48.3% 0.193 317.9);
Tailwind
colors: {
custom: {
50: '#af6dbf',
500: '#892aa3',
950: '#000000',
},
}SCSS
$custom: #892aa3; $custom-light: #af6dbf; $custom-dark: #000000;
JSON
{
"hex": "#892aa3",
"rgb": {
"r": 137,
"g": 42,
"b": 163
},
"hsl": {
"h": 287.107,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.48326,
"c": 0.19338,
"h": 317.9
},
"luminance": 0.09619
}Semantic roles & 50–950 ramp
primary
#892AA3
secondary
#7BC068
accent
#E24667
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81