#872383#872383

#872383 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.173 H 329.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#872383
RGBrgb(135, 35, 131)
HSLhsl(302, 59%, 33%)
HSVhsv(302, 74%, 53%)
CMYKcmyk(0%, 74.1%, 3%, 47.1%)
CIE-LABlab(33.97, 52.94, -31.63)
CIE-LCHlch(33.97, 61.67, 329.15°)
OKLaboklab(45.36% 0.1496 -0.0873)
OKLCHoklch(45.36% 0.173 329.7)
XYZxyz(14.6893, 7.9928, 22.2374)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872383 #238727
analogous
#592387 #872383 #872351
triadic
#872383 #838723 #238387
tetradic
#872383 #875923 #238727 #235187
square
#872383 #875923 #238727 #235187
split-complementary
#872383 #518723 #238759
monochromatic
#260A25 #561654 #872383 #B830B2 #D252CD

Accessibility & contrast

On white

8.08
#872383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#872383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872383
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872383#FFFFFF#000000##FFFFFF
##8723831.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164786
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#8C3151
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872383;
/* rgb */ color: rgb(135, 35, 131);
/* oklch */ color: oklch(45.4% 0.173 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad69a7',
    500: '#872383',
    950: '#000000',
  },
}
SCSS
$custom: #872383;
$custom-light: #ad69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#872383",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 302.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.1732,
    "h": 329.7
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#872383
secondary
#50B654
accent
#E24C46
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872383

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

Preview Lab → · Contrast checker → · Palette generator →

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