#892D9D#892D9D

#892D9D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.184 H 319.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#892D9D
RGBrgb(137, 45, 157)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 62%)
CMYKcmyk(12.7%, 71.3%, 0%, 38.4%)
CIE-LABlab(37.17, 54.40, -42.45)
CIE-LCHlch(37.17, 69.00, 322.03°)
OKLaboklab(48.22% 0.141 -0.1189)
OKLCHoklch(48.22% 0.184 319.9)
XYZxyz(17.3400, 9.6303, 32.8372)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D9D #419D2D
analogous
#512D9D #892D9D #9D2D79
triadic
#892D9D #9D892D #2D9D89
tetradic
#892D9D #9D512D #419D2D #2D799D
square
#892D9D #9D512D #419D2D #2D799D
split-complementary
#892D9D #799D2D #2D9D51
monochromatic
#36123E #5F1F6D #892D9D #B03FC8 #C36FD6

Accessibility & contrast

On white

7.18
#892D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#892D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D9D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D9D#FFFFFF#000000##FFFFFF
##892D9D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#894262
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892d9d;
/* rgb */ color: rgb(137, 45, 157);
/* oklch */ color: oklch(48.2% 0.184 319.9);
Tailwind
colors: {
  custom: {
    50: '#af6fba',
    500: '#892d9d',
    950: '#000000',
  },
}
SCSS
$custom: #892d9d;
$custom-light: #af6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#892d9d",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 289.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.18446,
    "h": 319.9
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#892D9D
secondary
#78BD69
accent
#DF4964
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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