#892C7F#892C7F

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

Color values

HEX#892C7F
RGBrgb(137, 44, 127)
HSLhsl(306, 51%, 35%)
HSVhsv(306, 68%, 54%)
CMYKcmyk(0%, 67.9%, 7.3%, 46.3%)
CIE-LABlab(35.31, 49.33, -27.00)
CIE-LCHlch(35.31, 56.24, 331.31°)
OKLaboklab(46.32% 0.1417 -0.074)
OKLCHoklch(46.32% 0.16 332.4)
XYZxyz(15.0480, 8.6532, 20.9522)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892C7F #2C8936
analogous
#652C89 #892C7F #892C50
triadic
#892C7F #7F892C #2C7F89
tetradic
#892C7F #89652C #2C8936 #2C5089
square
#892C7F #89652C #2C8936 #2C5089
split-complementary
#892C7F #50892C #2C8965
monochromatic
#2C0E29 #5B1D54 #892C7F #B73BAA #CD63C1

Accessibility & contrast

On white

7.69
#892C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#892C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892C7F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892C7F#FFFFFF#000000##FFFFFF
##892C7F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#48587D
Tritanopia (blue-blind)
#8F3551
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #892c7f;
/* rgb */ color: rgb(137, 44, 127);
/* oklch */ color: oklch(46.3% 0.160 332.4);
Tailwind
colors: {
  custom: {
    50: '#ae6da4',
    500: '#892c7f',
    950: '#000000',
  },
}
SCSS
$custom: #892c7f;
$custom-light: #ae6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#892c7f",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 306.452,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.15982,
    "h": 332.4
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#892C7F
secondary
#5EB367
accent
#DB5C4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #892C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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