#892799#892799
#892799 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.188 H 321.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #892799 |
|---|---|
| RGB | rgb(137, 39, 153) |
| HSL | hsl(292, 59%, 38%) |
| HSV | hsv(292, 75%, 60%) |
| CMYK | cmyk(10.5%, 74.5%, 0%, 40%) |
| CIE-LAB | lab(36.12, 55.90, -41.71) |
| CIE-LCH | lch(36.12, 69.75, 323.27°) |
| OKLab | oklab(47.39% 0.1474 -0.1167) |
| OKLCH | oklch(47.39% 0.188 321.6) |
| XYZ | xyz(16.7912, 9.0702, 30.9971) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.09
Darkmagenta
#8B008B
ΔE00 4.07
Warm Purple
#952E8F
ΔE00 4.27
Barney Purple
#A00498
ΔE00 4.46
Purple
#800080
ΔE00 5.76
Purply
#983FB2
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892799 #379927
analogous
#502799 #892799 #992770
triadic
#892799 #998927 #279989
tetradic
#892799 #995027 #379927 #277099
square
#892799 #995027 #379927 #277099
split-complementary
#892799 #709927 #279950
monochromatic
#320E37 #5D1B68 #892799 #B533CA #C763D7
Accessibility & contrast
On white
7.46
#892799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#892799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892799
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892799 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#8A3D5E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #892799; /* rgb */ color: rgb(137, 39, 153); /* oklch */ color: oklch(47.4% 0.188 321.6);
Tailwind
colors: {
custom: {
50: '#af6cb8',
500: '#892799',
950: '#000000',
},
}SCSS
$custom: #892799; $custom-light: #af6cb8; $custom-dark: #000000;
JSON
{
"hex": "#892799",
"rgb": {
"r": 137,
"g": 39,
"b": 153
},
"hsl": {
"h": 291.579,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.47386,
"c": 0.18796,
"h": 321.6
},
"luminance": 0.09069
}Semantic roles & 50–950 ramp
primary
#892799
secondary
#6CBD5F
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80