#892BA7#892BA7
#892BA7 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 316.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #892BA7 |
|---|---|
| RGB | rgb(137, 43, 167) |
| HSL | hsl(285, 59%, 41%) |
| HSV | hsv(285, 74%, 65%) |
| CMYK | cmyk(18%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(37.55, 57.14, -47.86) |
| CIE-LCH | lch(37.55, 74.53, 320.05°) |
| OKLab | oklab(48.69% 0.1422 -0.1347) |
| OKLCH | oklch(48.69% 0.196 316.5) |
| XYZ | xyz(18.1544, 9.8369, 37.4941) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.36
Purply
#983FB2
ΔE00 5.30
Barney Purple
#A00498
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.06
Darkmagenta
#8B008B
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892BA7 #49A72B
analogous
#4B2BA7 #892BA7 #A72B87
triadic
#892BA7 #A7892B #2BA789
tetradic
#892BA7 #A74B2B #49A72B #2B87A7
square
#892BA7 #A74B2B #49A72B #2B87A7
split-complementary
#892BA7 #87A72B #2BA74B
monochromatic
#391246 #611E76 #892BA7 #AC41CE #C172DB
Accessibility & contrast
On white
7.08
#892BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#892BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892BA7
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892BA7 | 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)
#0053AA
Deuteranopia (green-blind)
#2B5BA4
Tritanopia (blue-blind)
#874567
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #892ba7; /* rgb */ color: rgb(137, 43, 167); /* oklch */ color: oklch(48.7% 0.196 316.5);
Tailwind
colors: {
custom: {
50: '#af6ec2',
500: '#892ba7',
950: '#000000',
},
}SCSS
$custom: #892ba7; $custom-light: #af6ec2; $custom-dark: #000000;
JSON
{
"hex": "#892ba7",
"rgb": {
"r": 137,
"g": 43,
"b": 167
},
"hsl": {
"h": 285.484,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.48693,
"c": 0.19585,
"h": 316.5
},
"luminance": 0.09836
}Semantic roles & 50–950 ramp
primary
#892BA7
secondary
#81C26C
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81