#872295#872295

#872295 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.189 H 322.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#872295
RGBrgb(135, 34, 149)
HSLhsl(293, 63%, 36%)
HSVhsv(293, 77%, 58%)
CMYKcmyk(9.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(34.93, 56.46, -41.19)
CIE-LCHlch(34.93, 69.89, 323.89°)
OKLaboklab(46.4% 0.15 -0.1152)
OKLCHoklch(46.4% 0.189 322.5)
XYZxyz(15.9880, 8.4658, 29.2199)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872295 #309522
analogous
#4D2295 #872295 #952269
triadic
#872295 #958722 #229587
tetradic
#872295 #954D22 #309522 #226995
square
#872295 #954D22 #309522 #226995
split-complementary
#872295 #699522 #22954D
monochromatic
#2D0B31 #5A1763 #872295 #B42DC7 #C958D9

Accessibility & contrast

On white

7.80
#872295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#872295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872295
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872295#FFFFFF#000000##FFFFFF
##8722951.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872295;
/* rgb */ color: rgb(135, 34, 149);
/* oklch */ color: oklch(46.4% 0.189 322.5);
Tailwind
colors: {
  custom: {
    50: '#ae69b5',
    500: '#872295',
    950: '#000000',
  },
}
SCSS
$custom: #872295;
$custom-light: #ae69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#872295",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 292.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.18907,
    "h": 322.5
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#872295
secondary
#62BD56
accent
#E64256
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872295

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

Preview Lab → · Contrast checker → · Palette generator →

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