#892CA7#892CA7
#892CA7 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.195 H 316.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #892CA7 |
|---|---|
| RGB | rgb(137, 44, 167) |
| HSL | hsl(285, 58%, 41%) |
| HSV | hsv(285, 74%, 65%) |
| CMYK | cmyk(18%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(37.68, 56.76, -47.65) |
| CIE-LCH | lch(37.68, 74.11, 319.99°) |
| OKLab | oklab(48.79% 0.1412 -0.1341) |
| OKLCH | oklch(48.79% 0.195 316.5) |
| XYZ | xyz(18.1912, 9.9105, 37.5064) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.48
Purply
#983FB2
ΔE00 5.18
Barney Purple
#A00498
ΔE00 5.96
Warm Purple
#952E8F
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.22
Darkorchid
#9932CC
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892CA7 #4AA72C
analogous
#4C2CA7 #892CA7 #A72C88
triadic
#892CA7 #A7892C #2CA789
tetradic
#892CA7 #A74C2C #4AA72C #2C88A7
square
#892CA7 #A74C2C #4AA72C #2C88A7
split-complementary
#892CA7 #88A72C #2CA74C
monochromatic
#3A1246 #611F77 #892CA7 #AC43CD #C173DA
Accessibility & contrast
On white
7.04
#892CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#892CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892CA7
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892CA7 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#874667
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #892ca7; /* rgb */ color: rgb(137, 44, 167); /* oklch */ color: oklch(48.8% 0.195 316.5);
Tailwind
colors: {
custom: {
50: '#af6ec2',
500: '#892ca7',
950: '#000000',
},
}SCSS
$custom: #892ca7; $custom-light: #af6ec2; $custom-dark: #000000;
JSON
{
"hex": "#892ca7",
"rgb": {
"r": 137,
"g": 44,
"b": 167
},
"hsl": {
"h": 285.366,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.48788,
"c": 0.19472,
"h": 316.5
},
"luminance": 0.0991
}Semantic roles & 50–950 ramp
primary
#892CA7
secondary
#82C26D
accent
#E2466C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81