#872083#872083

#872083 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.177 H 329.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#872083
RGBrgb(135, 32, 131)
HSLhsl(302, 62%, 33%)
HSVhsv(302, 76%, 53%)
CMYKcmyk(0%, 76.3%, 3%, 47.1%)
CIE-LABlab(33.61, 53.96, -32.19)
CIE-LCHlch(33.61, 62.83, 329.18°)
OKLaboklab(45.1% 0.1525 -0.0889)
OKLCHoklch(45.1% 0.177 329.7)
XYZxyz(14.6048, 7.8237, 22.2092)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872083 #208724
analogous
#572087 #872083 #87204F
triadic
#872083 #838720 #208387
tetradic
#872083 #875720 #208724 #204F87
square
#872083 #875720 #208724 #204F87
split-complementary
#872083 #4F8720 #208757
monochromatic
#240923 #561453 #872083 #B82CB3 #D54DCF

Accessibility & contrast

On white

8.19
#872083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#872083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872083
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872083#FFFFFF#000000##FFFFFF
##8720831.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114686
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#8C2F50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872083;
/* rgb */ color: rgb(135, 32, 131);
/* oklch */ color: oklch(45.1% 0.177 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad68a7',
    500: '#872083',
    950: '#000000',
  },
}
SCSS
$custom: #872083;
$custom-light: #ad68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#872083",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 302.33,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.17653,
    "h": 329.7
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#872083
secondary
#4BB84F
accent
#E54943
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872083

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

Preview Lab → · Contrast checker → · Palette generator →

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