#872392#872392

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

Color values

HEX#872392
RGBrgb(135, 35, 146)
HSLhsl(294, 61%, 35%)
HSVhsv(294, 76%, 57%)
CMYKcmyk(7.5%, 76%, 0%, 42.7%)
CIE-LABlab(34.86, 55.58, -39.47)
CIE-LCHlch(34.86, 68.17, 324.62°)
OKLaboklab(46.28% 0.1493 -0.1101)
OKLCHoklch(46.28% 0.186 323.6)
XYZxyz(15.7805, 8.4293, 27.9844)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872392 #2E9223
analogous
#4F2392 #872392 #922365
triadic
#872392 #928723 #239287
tetradic
#872392 #924F23 #2E9223 #236592
square
#872392 #924F23 #2E9223 #236592
split-complementary
#872392 #659223 #23924F
monochromatic
#2C0B2F #591761 #872392 #B52FC3 #CA58D7

Accessibility & contrast

On white

7.82
#872392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#872392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872392
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872392#FFFFFF#000000##FFFFFF
##8723921.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#37568F
Tritanopia (blue-blind)
#893859
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872392;
/* rgb */ color: rgb(135, 35, 146);
/* oklch */ color: oklch(46.3% 0.185 323.6);
Tailwind
colors: {
  custom: {
    50: '#ae69b2',
    500: '#872392',
    950: '#000000',
  },
}
SCSS
$custom: #872392;
$custom-light: #ae69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#872392",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 294.054,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46284,
    "c": 0.1855,
    "h": 323.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#872392
secondary
#60BB55
accent
#E44353
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872392

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

Preview Lab → · Contrast checker → · Palette generator →

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