#872685#872685

#872685 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 328.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#872685
RGBrgb(135, 38, 133)
HSLhsl(301, 56%, 34%)
HSVhsv(301, 72%, 53%)
CMYKcmyk(0%, 71.9%, 1.5%, 47.1%)
CIE-LABlab(34.46, 52.21, -32.09)
CIE-LCHlch(34.46, 61.28, 328.42°)
OKLaboklab(45.75% 0.1465 -0.0887)
OKLCHoklch(45.75% 0.171 328.8)
XYZxyz(14.9183, 8.2317, 22.9889)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872685 #268728
analogous
#592687 #872685 #872655
triadic
#872685 #858726 #268587
tetradic
#872685 #875926 #268728 #265587
square
#872685 #875926 #268728 #265587
split-complementary
#872685 #558726 #268759
monochromatic
#270B27 #571956 #872685 #B733B4 #D058CD

Accessibility & contrast

On white

7.94
#872685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#872685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872685
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872685#FFFFFF#000000##FFFFFF
##8726851.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184988
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#8C3353
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872685;
/* rgb */ color: rgb(135, 38, 133);
/* oklch */ color: oklch(45.7% 0.171 328.8);
Tailwind
colors: {
  custom: {
    50: '#ad6aa9',
    500: '#872685',
    950: '#000000',
  },
}
SCSS
$custom: #872685;
$custom-light: #ad6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#872685",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 301.237,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.1713,
    "h": 328.8
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#872685
secondary
#54B556
accent
#DF4C48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872685

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

Preview Lab → · Contrast checker → · Palette generator →

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