#872292#872292

#872292 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.187 H 323.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#872292
RGBrgb(135, 34, 146)
HSLhsl(294, 62%, 35%)
HSVhsv(294, 77%, 57%)
CMYKcmyk(7.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(34.74, 55.91, -39.65)
CIE-LCHlch(34.74, 68.55, 324.66°)
OKLaboklab(46.2% 0.1502 -0.1107)
OKLCHoklch(46.2% 0.187 323.6)
XYZxyz(15.7515, 8.3712, 27.9747)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872292 #2D9222
analogous
#4F2292 #872292 #922265
triadic
#872292 #928722 #229287
tetradic
#872292 #924F22 #2D9222 #226592
square
#872292 #924F22 #2D9222 #226592
split-complementary
#872292 #659222 #22924F
monochromatic
#2B0B2F #591660 #872292 #B52EC4 #CB57D8

Accessibility & contrast

On white

7.85
#872292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#872292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872292
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872292#FFFFFF#000000##FFFFFF
##8722921.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#36568F
Tritanopia (blue-blind)
#893759
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872292;
/* rgb */ color: rgb(135, 34, 146);
/* oklch */ color: oklch(46.2% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#ae69b2',
    500: '#872292',
    950: '#000000',
  },
}
SCSS
$custom: #872292;
$custom-light: #ae69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#872292",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 294.107,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46201,
    "c": 0.18656,
    "h": 323.6
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#872292
secondary
#5EBC54
accent
#E54352
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872292

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

Preview Lab → · Contrast checker → · Palette generator →

#872292 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva