#872482#872482

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

Color values

HEX#872482
RGBrgb(135, 36, 130)
HSLhsl(303, 58%, 34%)
HSVhsv(303, 73%, 53%)
CMYKcmyk(0%, 73.3%, 3.7%, 47.1%)
CIE-LABlab(34.04, 52.42, -30.90)
CIE-LCHlch(34.04, 60.85, 329.48°)
OKLaboklab(45.39% 0.1485 -0.0852)
OKLCHoklch(45.39% 0.171 330.1)
XYZxyz(14.6517, 8.0255, 21.8921)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872482 #248729
analogous
#5A2487 #872482 #872450
triadic
#872482 #828724 #248287
tetradic
#872482 #875A24 #248729 #245087
square
#872482 #875A24 #248729 #245087
split-complementary
#872482 #508724 #24875A
monochromatic
#260A25 #571753 #872482 #B731B1 #D154CB

Accessibility & contrast

On white

8.06
#872482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872482
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872482#FFFFFF#000000##FFFFFF
##8724821.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194785
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#8C3150
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872482;
/* rgb */ color: rgb(135, 36, 130);
/* oklch */ color: oklch(45.4% 0.171 330.1);
Tailwind
colors: {
  custom: {
    50: '#ad69a7',
    500: '#872482',
    950: '#000000',
  },
}
SCSS
$custom: #872482;
$custom-light: #ad69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#872482",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 303.03,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.17125,
    "h": 330.1
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#872482
secondary
#51B556
accent
#E14E47
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872482

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

Preview Lab → · Contrast checker → · Palette generator →

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