#872983#872983

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

Color values

HEX#872983
RGBrgb(135, 41, 131)
HSLhsl(303, 53%, 35%)
HSVhsv(303, 70%, 53%)
CMYKcmyk(0%, 69.6%, 3%, 47.1%)
CIE-LABlab(34.76, 50.71, -30.38)
CIE-LCHlch(34.76, 59.12, 329.07°)
OKLaboklab(45.92% 0.1432 -0.0838)
OKLCHoklch(45.92% 0.166 329.7)
XYZxyz(14.8812, 8.3766, 22.3014)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872983 #29872D
analogous
#5C2987 #872983 #872954
triadic
#872983 #838729 #298387
tetradic
#872983 #875C29 #29872D #295487
square
#872983 #875C29 #29872D #295487
split-complementary
#872983 #548729 #29875C
monochromatic
#290C28 #581B55 #872983 #B637B1 #CE5DC9

Accessibility & contrast

On white

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

On black

2.68
#872983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##872983#FFFFFF#000000##FFFFFF
##8729831.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#8C3553
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872983;
/* rgb */ color: rgb(135, 41, 131);
/* oklch */ color: oklch(45.9% 0.166 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ba7',
    500: '#872983',
    950: '#000000',
  },
}
SCSS
$custom: #872983;
$custom-light: #ad6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#872983",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 302.553,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.1659,
    "h": 329.7
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#872983
secondary
#59B35C
accent
#DD514B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872983

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

Preview Lab → · Contrast checker → · Palette generator →

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