#872282#872282

#872282 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 330.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#872282
RGBrgb(135, 34, 130)
HSLhsl(303, 60%, 33%)
HSVhsv(303, 75%, 53%)
CMYKcmyk(0%, 74.8%, 3.7%, 47.1%)
CIE-LABlab(33.79, 53.12, -31.29)
CIE-LCHlch(33.79, 61.65, 329.50°)
OKLaboklab(45.21% 0.1505 -0.0863)
OKLCHoklch(45.21% 0.174 330.2)
XYZxyz(14.5929, 7.9078, 21.8725)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872282 #228727
analogous
#592287 #872282 #87224F
triadic
#872282 #828722 #228287
tetradic
#872282 #875922 #228727 #224F87
square
#872282 #875922 #228727 #224F87
split-complementary
#872282 #4F8722 #228759
monochromatic
#250924 #561653 #872282 #B82EB1 #D350CD

Accessibility & contrast

On white

8.14
#872282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#872282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872282
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872282#FFFFFF#000000##FFFFFF
##8722821.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#8C2F50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872282;
/* rgb */ color: rgb(135, 34, 130);
/* oklch */ color: oklch(45.2% 0.174 330.2);
Tailwind
colors: {
  custom: {
    50: '#ad68a7',
    500: '#872282',
    950: '#000000',
  },
}
SCSS
$custom: #872282;
$custom-light: #ad68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#872282",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 302.97,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.17355,
    "h": 330.2
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#872282
secondary
#4EB753
accent
#E34D45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872282

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

Preview Lab → · Contrast checker → · Palette generator →

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