#892C7E#892C7E

#892C7E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.159 H 332.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#892C7E
RGBrgb(137, 44, 126)
HSLhsl(307, 51%, 35%)
HSVhsv(307, 68%, 54%)
CMYKcmyk(0%, 67.9%, 8%, 46.3%)
CIE-LABlab(35.26, 49.17, -26.46)
CIE-LCHlch(35.26, 55.84, 331.71°)
OKLaboklab(46.27% 0.1416 -0.0725)
OKLCHoklch(46.27% 0.159 332.9)
XYZxyz(14.9832, 8.6273, 20.6107)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892C7E #2C8937
analogous
#652C89 #892C7E #892C4F
triadic
#892C7E #7E892C #2C7E89
tetradic
#892C7E #89652C #2C8937 #2C4F89
square
#892C7E #89652C #2C8937 #2C4F89
split-complementary
#892C7E #4F892C #2C8965
monochromatic
#2C0E29 #5B1D53 #892C7E #B73BA9 #CD63C0

Accessibility & contrast

On white

7.71
#892C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892C7E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892C7E#FFFFFF#000000##FFFFFF
##892C7E1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#8F3451
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #892c7e;
/* rgb */ color: rgb(137, 44, 126);
/* oklch */ color: oklch(46.3% 0.159 332.9);
Tailwind
colors: {
  custom: {
    50: '#ae6da3',
    500: '#892c7e',
    950: '#000000',
  },
}
SCSS
$custom: #892c7e;
$custom-light: #ae6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#892c7e",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 307.097,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.15902,
    "h": 332.9
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#892C7E
secondary
#5EB368
accent
#DB5E4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #892C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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