#892D9F#892D9F
#892D9F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.186 H 319.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #892D9F |
|---|---|
| RGB | rgb(137, 45, 159) |
| HSL | hsl(288, 56%, 40%) |
| HSV | hsv(288, 72%, 62%) |
| CMYK | cmyk(13.8%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(37.30, 54.78, -43.45) |
| CIE-LCH | lch(37.30, 69.93, 321.58°) |
| OKLab | oklab(48.35% 0.1409 -0.1218) |
| OKLCH | oklch(48.35% 0.186 319.2) |
| XYZ | xyz(17.5121, 9.6992, 33.7439) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.46
Warm Purple
#952E8F
ΔE00 4.78
Barney Purple
#A00498
ΔE00 5.20
Darkmagenta
#8B008B
ΔE00 5.43
Purply
#983FB2
ΔE00 5.46
Barney
#AC1DB8
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892D9F #439F2D
analogous
#502D9F #892D9F #9F2D7C
triadic
#892D9F #9F892D #2D9F89
tetradic
#892D9F #9F502D #439F2D #2D7C9F
square
#892D9F #9F502D #439F2D #2D7C9F
split-complementary
#892D9F #7C9F2D #2D9F50
monochromatic
#371240 #60206F #892D9F #AF40C9 #C370D6
Accessibility & contrast
On white
7.14
#892D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#892D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892D9F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892D9F | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#894363
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #892d9f; /* rgb */ color: rgb(137, 45, 159); /* oklch */ color: oklch(48.3% 0.186 319.2);
Tailwind
colors: {
custom: {
50: '#af6fbc',
500: '#892d9f',
950: '#000000',
},
}SCSS
$custom: #892d9f; $custom-light: #af6fbc; $custom-dark: #000000;
JSON
{
"hex": "#892d9f",
"rgb": {
"r": 137,
"g": 45,
"b": 159
},
"hsl": {
"h": 288.421,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.48347,
"c": 0.18627,
"h": 319.2
},
"luminance": 0.09698
}Semantic roles & 50–950 ramp
primary
#892D9F
secondary
#7ABE6A
accent
#DF4966
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81