#872299#872299

#872299 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.192 H 321.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#872299
RGBrgb(135, 34, 153)
HSLhsl(291, 64%, 37%)
HSVhsv(291, 78%, 60%)
CMYKcmyk(11.8%, 77.8%, 0%, 40%)
CIE-LABlab(35.19, 57.20, -43.21)
CIE-LCHlch(35.19, 71.69, 322.93°)
OKLaboklab(46.66% 0.1496 -0.1211)
OKLCHoklch(46.66% 0.192 321)
XYZxyz(16.3128, 8.5958, 30.9307)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872299 #349922
analogous
#4C2299 #872299 #992270
triadic
#872299 #998722 #229987
tetradic
#872299 #994C22 #349922 #227099
square
#872299 #994C22 #349922 #227099
split-complementary
#872299 #709922 #22994C
monochromatic
#2F0C35 #5B1767 #872299 #B32DCB #C75BDB

Accessibility & contrast

On white

7.72
#872299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#872299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872299
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872299#FFFFFF#000000##FFFFFF
##8722991.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#883A5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872299;
/* rgb */ color: rgb(135, 34, 153);
/* oklch */ color: oklch(46.7% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#ae69b8',
    500: '#872299',
    950: '#000000',
  },
}
SCSS
$custom: #872299;
$custom-light: #ae69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#872299",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 290.924,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.19244,
    "h": 321
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#872299
secondary
#67BF58
accent
#E7415A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872299

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

Preview Lab → · Contrast checker → · Palette generator →

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