#872296#872296

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

Color values

HEX#872296
RGBrgb(135, 34, 150)
HSLhsl(292, 63%, 36%)
HSVhsv(292, 77%, 59%)
CMYKcmyk(10%, 77.3%, 0%, 41.2%)
CIE-LABlab(35.00, 56.64, -41.69)
CIE-LCHlch(35.00, 70.33, 323.65°)
OKLaboklab(46.46% 0.1499 -0.1166)
OKLCHoklch(46.46% 0.19 322.1)
XYZxyz(16.0681, 8.4979, 29.6422)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872296 #319622
analogous
#4D2296 #872296 #96226B
triadic
#872296 #968722 #229687
tetradic
#872296 #964D22 #319622 #226B96
square
#872296 #964D22 #319622 #226B96
split-complementary
#872296 #6B9622 #22964D
monochromatic
#2D0B32 #5A1764 #872296 #B42DC8 #C959D9

Accessibility & contrast

On white

7.78
#872296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872296
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872296#FFFFFF#000000##FFFFFF
##8722961.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#335693
Tritanopia (blue-blind)
#89395B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872296;
/* rgb */ color: rgb(135, 34, 150);
/* oklch */ color: oklch(46.5% 0.190 322.1);
Tailwind
colors: {
  custom: {
    50: '#ae69b5',
    500: '#872296',
    950: '#000000',
  },
}
SCSS
$custom: #872296;
$custom-light: #ae69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#872296",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 292.241,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.18991,
    "h": 322.1
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#872296
secondary
#64BE56
accent
#E64257
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872296

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

Preview Lab → · Contrast checker → · Palette generator →

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