#872099#872099

#872099 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.194 H 321.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#872099
RGBrgb(135, 32, 153)
HSLhsl(291, 65%, 36%)
HSVhsv(291, 79%, 60%)
CMYKcmyk(11.8%, 79.1%, 0%, 40%)
CIE-LABlab(34.97, 57.84, -43.56)
CIE-LCHlch(34.97, 72.41, 323.01°)
OKLaboklab(46.51% 0.1513 -0.1221)
OKLCHoklch(46.51% 0.194 321.1)
XYZxyz(16.2573, 8.4847, 30.9122)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872099 #329920
analogous
#4B2099 #872099 #99206F
triadic
#872099 #998720 #209987
tetradic
#872099 #994B20 #329920 #206F99
square
#872099 #994B20 #329920 #206F99
split-complementary
#872099 #6F9920 #20994B
monochromatic
#2E0B34 #5A1566 #872099 #B42BCC #C857DC

Accessibility & contrast

On white

7.79
#872099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#872099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872099
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872099#FFFFFF#000000##FFFFFF
##8720991.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#2F5696
Tritanopia (blue-blind)
#88395C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872099;
/* rgb */ color: rgb(135, 32, 153);
/* oklch */ color: oklch(46.5% 0.194 321.1);
Tailwind
colors: {
  custom: {
    50: '#ae69b8',
    500: '#872099',
    950: '#000000',
  },
}
SCSS
$custom: #872099;
$custom-light: #ae69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#872099",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 291.074,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.19441,
    "h": 321.1
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#872099
secondary
#65C055
accent
#E83F59
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872099

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

Preview Lab → · Contrast checker → · Palette generator →

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