#892D7E#892D7E

#892D7E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.158 H 332.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#892D7E
RGBrgb(137, 45, 126)
HSLhsl(307, 51%, 36%)
HSVhsv(307, 67%, 54%)
CMYKcmyk(0%, 67.2%, 8%, 46.3%)
CIE-LABlab(35.41, 48.75, -26.23)
CIE-LCHlch(35.41, 55.36, 331.72°)
OKLaboklab(46.38% 0.1403 -0.0718)
OKLCHoklch(46.38% 0.158 332.9)
XYZxyz(15.0209, 8.7027, 20.6233)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D7E #2D8938
analogous
#662D89 #892D7E #892D50
triadic
#892D7E #7E892D #2D7E89
tetradic
#892D7E #89662D #2D8938 #2D5089
square
#892D7E #89662D #2D8938 #2D5089
split-complementary
#892D7E #50892D #2D8966
monochromatic
#2D0F29 #5B1E54 #892D7E #B73CA8 #CC64C0

Accessibility & contrast

On white

7.66
#892D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892D7E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D7E#FFFFFF#000000##FFFFFF
##892D7E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#8F3551
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #892d7e;
/* rgb */ color: rgb(137, 45, 126);
/* oklch */ color: oklch(46.4% 0.158 332.9);
Tailwind
colors: {
  custom: {
    50: '#ae6da3',
    500: '#892d7e',
    950: '#000000',
  },
}
SCSS
$custom: #892d7e;
$custom-light: #ae6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#892d7e",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 307.174,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.15764,
    "h": 332.9
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#892D7E
secondary
#5FB369
accent
#DA5F4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #892D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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