#872283#872283

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

Color values

HEX#872283
RGBrgb(135, 34, 131)
HSLhsl(302, 60%, 33%)
HSVhsv(302, 75%, 53%)
CMYKcmyk(0%, 74.8%, 3%, 47.1%)
CIE-LABlab(33.85, 53.29, -31.82)
CIE-LCHlch(33.85, 62.07, 329.16°)
OKLaboklab(45.27% 0.1506 -0.0879)
OKLCHoklch(45.27% 0.174 329.7)
XYZxyz(14.6603, 7.9348, 22.2277)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872283 #228726
analogous
#582287 #872283 #872250
triadic
#872283 #838722 #228387
tetradic
#872283 #875822 #228726 #225087
square
#872283 #875822 #228726 #225087
split-complementary
#872283 #508722 #228758
monochromatic
#250924 #561654 #872283 #B82EB2 #D350CE

Accessibility & contrast

On white

8.12
#872283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#872283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872283
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872283#FFFFFF#000000##FFFFFF
##8722831.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144786
Deuteranopia (green-blind)
#405481
Tritanopia (blue-blind)
#8C3050
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872283;
/* rgb */ color: rgb(135, 34, 131);
/* oklch */ color: oklch(45.3% 0.174 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad68a7',
    500: '#872283',
    950: '#000000',
  },
}
SCSS
$custom: #872283;
$custom-light: #ad68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#872283",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 302.376,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.17434,
    "h": 329.7
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#872283
secondary
#4EB752
accent
#E34B45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872283

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

Preview Lab → · Contrast checker → · Palette generator →

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