#892D8D#892D8D

#892D8D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.170 H 326.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#892D8D
RGBrgb(137, 45, 141)
HSLhsl(298, 52%, 36%)
HSVhsv(298, 68%, 55%)
CMYKcmyk(2.8%, 68.1%, 0%, 44.7%)
CIE-LABlab(36.21, 51.38, -34.23)
CIE-LCHlch(36.21, 61.74, 326.33°)
OKLaboklab(47.22% 0.1413 -0.0949)
OKLCHoklch(47.22% 0.17 326.1)
XYZxyz(16.0623, 9.1193, 26.1083)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D8D #318D2D
analogous
#592D8D #892D8D #8D2D61
triadic
#892D8D #8D892D #2D8D89
tetradic
#892D8D #8D592D #318D2D #2D618D
square
#892D8D #8D592D #318D2D #2D618D
split-complementary
#892D8D #618D2D #2D8D59
monochromatic
#2F0F30 #5C1E5F #892D8D #B63CBB #CA66CE

Accessibility & contrast

On white

7.44
#892D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#892D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D8D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D8D#FFFFFF#000000##FFFFFF
##892D8D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#42598B
Tritanopia (blue-blind)
#8D3B59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #892d8d;
/* rgb */ color: rgb(137, 45, 141);
/* oklch */ color: oklch(47.2% 0.170 326.1);
Tailwind
colors: {
  custom: {
    50: '#ae6eaf',
    500: '#892d8d',
    950: '#000000',
  },
}
SCSS
$custom: #892d8d;
$custom-light: #ae6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#892d8d",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 297.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.17025,
    "h": 326.1
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#892D8D
secondary
#64B561
accent
#DB4D53
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #892D8D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#892D8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva