#892D9B#892D9B

#892D9B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.183 H 320.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#892D9B
RGBrgb(137, 45, 155)
HSLhsl(290, 55%, 39%)
HSVhsv(290, 71%, 61%)
CMYKcmyk(11.6%, 71%, 0%, 39.2%)
CIE-LABlab(37.05, 54.01, -41.44)
CIE-LCHlch(37.05, 68.07, 322.50°)
OKLaboklab(48.09% 0.1412 -0.1159)
OKLCHoklch(48.09% 0.183 320.6)
XYZxyz(17.1706, 9.5626, 31.9453)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D9B #3F9B2D
analogous
#522D9B #892D9B #9B2D76
triadic
#892D9B #9B892D #2D9B89
tetradic
#892D9B #9B522D #3F9B2D #2D769B
square
#892D9B #9B522D #3F9B2D #2D769B
split-complementary
#892D9B #769B2D #2D9B52
monochromatic
#35113C #5F1F6C #892D9B #B13EC7 #C46ED5

Accessibility & contrast

On white

7.21
#892D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#892D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D9B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D9B#FFFFFF#000000##FFFFFF
##892D9B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8A4161
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892d9b;
/* rgb */ color: rgb(137, 45, 155);
/* oklch */ color: oklch(48.1% 0.183 320.6);
Tailwind
colors: {
  custom: {
    50: '#af6eb9',
    500: '#892d9b',
    950: '#000000',
  },
}
SCSS
$custom: #892d9b;
$custom-light: #af6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#892d9b",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 290.182,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.18265,
    "h": 320.6
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#892D9B
secondary
#76BC68
accent
#DE4962
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #892D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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