#892D7D#892D7D

#892D7D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.157 H 333.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#892D7D
RGBrgb(137, 45, 125)
HSLhsl(308, 51%, 36%)
HSVhsv(308, 67%, 54%)
CMYKcmyk(0%, 67.2%, 8.8%, 46.3%)
CIE-LABlab(35.35, 48.58, -25.68)
CIE-LCHlch(35.35, 54.96, 332.14°)
OKLaboklab(46.32% 0.1402 -0.0702)
OKLCHoklch(46.32% 0.157 333.4)
XYZxyz(14.9567, 8.6770, 20.2851)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D7D #2D8939
analogous
#672D89 #892D7D #892D4F
triadic
#892D7D #7D892D #2D7D89
tetradic
#892D7D #89672D #2D8939 #2D4F89
square
#892D7D #89672D #2D8939 #2D4F89
split-complementary
#892D7D #4F892D #2D8967
monochromatic
#2D0F29 #5B1E53 #892D7D #B73CA7 #CC64BF

Accessibility & contrast

On white

7.68
#892D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#892D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D7D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D7D#FFFFFF#000000##FFFFFF
##892D7D1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#8F3551
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #892d7d;
/* rgb */ color: rgb(137, 45, 125);
/* oklch */ color: oklch(46.3% 0.157 333.4);
Tailwind
colors: {
  custom: {
    50: '#ae6da3',
    500: '#892d7d',
    950: '#000000',
  },
}
SCSS
$custom: #892d7d;
$custom-light: #ae6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#892d7d",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 307.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.15684,
    "h": 333.4
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#892D7D
secondary
#5FB36A
accent
#DA604E
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #892D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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