#872683#872683

#872683 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.170 H 329.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#872683
RGBrgb(135, 38, 131)
HSLhsl(302, 56%, 34%)
HSVhsv(302, 72%, 53%)
CMYKcmyk(0%, 71.9%, 3%, 47.1%)
CIE-LABlab(34.35, 51.86, -31.03)
CIE-LCHlch(34.35, 60.43, 329.11°)
OKLaboklab(45.63% 0.1465 -0.0856)
OKLCHoklch(45.63% 0.17 329.7)
XYZxyz(14.7814, 8.1769, 22.2681)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872683 #26872A
analogous
#5B2687 #872683 #872653
triadic
#872683 #838726 #268387
tetradic
#872683 #875B26 #26872A #265387
square
#872683 #875B26 #26872A #265387
split-complementary
#872683 #538726 #26875B
monochromatic
#270B26 #571955 #872683 #B733B1 #D058CB

Accessibility & contrast

On white

7.97
#872683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#872683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872683
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872683#FFFFFF#000000##FFFFFF
##8726831.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4886
Deuteranopia (green-blind)
#425581
Tritanopia (blue-blind)
#8C3352
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872683;
/* rgb */ color: rgb(135, 38, 131);
/* oklch */ color: oklch(45.6% 0.170 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad6aa7',
    500: '#872683',
    950: '#000000',
  },
}
SCSS
$custom: #872683;
$custom-light: #ad6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#872683",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 302.474,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.16967,
    "h": 329.7
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#872683
secondary
#54B558
accent
#DF4F48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872683

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

Preview Lab → · Contrast checker → · Palette generator →

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