#872095#872095

#872095 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 322.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#872095
RGBrgb(135, 32, 149)
HSLhsl(293, 65%, 35%)
HSVhsv(293, 79%, 58%)
CMYKcmyk(9.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(34.71, 57.11, -41.54)
CIE-LCHlch(34.71, 70.62, 323.96°)
OKLaboklab(46.24% 0.1517 -0.1162)
OKLCHoklch(46.24% 0.191 322.5)
XYZxyz(15.9325, 8.3548, 29.2014)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872095 #2E9520
analogous
#4D2095 #872095 #952068
triadic
#872095 #958720 #209587
tetradic
#872095 #954D20 #2E9520 #206895
square
#872095 #954D20 #2E9520 #206895
split-complementary
#872095 #689520 #20954D
monochromatic
#2C0A30 #591563 #872095 #B52BC7 #CA55DA

Accessibility & contrast

On white

7.86
#872095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#872095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872095
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872095#FFFFFF#000000##FFFFFF
##8720951.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#89375A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872095;
/* rgb */ color: rgb(135, 32, 149);
/* oklch */ color: oklch(46.2% 0.191 322.5);
Tailwind
colors: {
  custom: {
    50: '#ae68b5',
    500: '#872095',
    950: '#000000',
  },
}
SCSS
$custom: #872095;
$custom-light: #ae68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#872095",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 292.821,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.19108,
    "h": 322.5
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#872095
secondary
#60BE53
accent
#E84054
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872095

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

Preview Lab → · Contrast checker → · Palette generator →

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