#872679#872679

#872679 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.162 H 334.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#872679
RGBrgb(135, 38, 121)
HSLhsl(309, 56%, 34%)
HSVhsv(309, 72%, 53%)
CMYKcmyk(0%, 71.9%, 10.4%, 47.1%)
CIE-LABlab(33.81, 50.20, -25.62)
CIE-LCHlch(33.81, 56.36, 332.96°)
OKLaboklab(45.07% 0.1458 -0.07)
OKLCHoklch(45.07% 0.162 334.3)
XYZxyz(14.1361, 7.9188, 18.8694)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872679 #268734
analogous
#652687 #872679 #872649
triadic
#872679 #798726 #267987
tetradic
#872679 #876526 #268734 #264987
square
#872679 #876526 #268734 #264987
split-complementary
#872679 #498726 #268765
monochromatic
#270B23 #57194E #872679 #B733A4 #D058BE

Accessibility & contrast

On white

8.13
#872679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872679
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872679#FFFFFF#000000##FFFFFF
##8726791.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467B
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#8E2E4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872679;
/* rgb */ color: rgb(135, 38, 121);
/* oklch */ color: oklch(45.1% 0.162 334.3);
Tailwind
colors: {
  custom: {
    50: '#ad6aa0',
    500: '#872679',
    950: '#000000',
  },
}
SCSS
$custom: #872679;
$custom-light: #ad6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#872679",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 308.66,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.16174,
    "h": 334.3
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#872679
secondary
#54B562
accent
#DF5E48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872679

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

Preview Lab → · Contrast checker → · Palette generator →

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