#892D9C#892D9C

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

Color values

HEX#892D9C
RGBrgb(137, 45, 156)
HSLhsl(290, 55%, 39%)
HSVhsv(290, 71%, 61%)
CMYKcmyk(12.2%, 71.2%, 0%, 38.8%)
CIE-LABlab(37.11, 54.20, -41.94)
CIE-LCHlch(37.11, 68.53, 322.27°)
OKLaboklab(48.15% 0.1411 -0.1174)
OKLCHoklch(48.15% 0.184 320.2)
XYZxyz(17.2549, 9.5963, 32.3894)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D9C #409C2D
analogous
#522D9C #892D9C #9C2D78
triadic
#892D9C #9C892D #2D9C89
tetradic
#892D9C #9C522D #409C2D #2D789C
square
#892D9C #9C522D #409C2D #2D789C
split-complementary
#892D9C #789C2D #2D9C52
monochromatic
#36123D #5F1F6D #892D9C #B03FC8 #C46ED5

Accessibility & contrast

On white

7.19
#892D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#892D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D9C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D9C#FFFFFF#000000##FFFFFF
##892D9C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#375B99
Tritanopia (blue-blind)
#8A4261
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892d9c;
/* rgb */ color: rgb(137, 45, 156);
/* oklch */ color: oklch(48.2% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#af6fba',
    500: '#892d9c',
    950: '#000000',
  },
}
SCSS
$custom: #892d9c;
$custom-light: #af6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#892d9c",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 289.73,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.18355,
    "h": 320.2
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#892D9C
secondary
#77BC68
accent
#DF4963
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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