#892EA7#892EA7
#892EA7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.192 H 316.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #892EA7 |
|---|---|
| RGB | rgb(137, 46, 167) |
| HSL | hsl(285, 57%, 42%) |
| HSV | hsv(285, 72%, 65%) |
| CMYK | cmyk(18%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(37.96, 55.98, -47.20) |
| CIE-LCH | lch(37.96, 73.23, 319.86°) |
| OKLab | oklab(48.98% 0.1392 -0.1328) |
| OKLCH | oklch(48.98% 0.192 316.3) |
| XYZ | xyz(18.2675, 10.0631, 37.5318) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.73
Purply
#983FB2
ΔE00 4.92
Warm Purple
#952E8F
ΔE00 5.97
Barney Purple
#A00498
ΔE00 6.06
Darkorchid
#9932CC
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892EA7 #4CA72E
analogous
#4D2EA7 #892EA7 #A72E89
triadic
#892EA7 #A7892E #2EA789
tetradic
#892EA7 #A74D2E #4CA72E #2E89A7
square
#892EA7 #A74D2E #4CA72E #2E89A7
split-complementary
#892EA7 #89A72E #2EA74D
monochromatic
#3A1447 #622177 #892EA7 #AB46CC #C176D9
Accessibility & contrast
On white
6.97
#892EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#892EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #892EA7
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892EA7 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#874768
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #892ea7; /* rgb */ color: rgb(137, 46, 167); /* oklch */ color: oklch(49.0% 0.192 316.3);
Tailwind
colors: {
custom: {
50: '#af6fc2',
500: '#892ea7',
950: '#000000',
},
}SCSS
$custom: #892ea7; $custom-light: #af6fc2; $custom-dark: #000000;
JSON
{
"hex": "#892ea7",
"rgb": {
"r": 137,
"g": 46,
"b": 167
},
"hsl": {
"h": 285.124,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.48983,
"c": 0.19239,
"h": 316.3
},
"luminance": 0.10062
}Semantic roles & 50–950 ramp
primary
#892EA7
secondary
#84C170
accent
#E0486D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81