#872995#872995

#872995 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.181 H 322.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#872995
RGBrgb(135, 41, 149)
HSLhsl(292, 57%, 37%)
HSVhsv(292, 72%, 58%)
CMYKcmyk(9.4%, 72.5%, 0%, 41.6%)
CIE-LABlab(35.81, 53.97, -39.79)
CIE-LCHlch(35.81, 67.06, 323.60°)
OKLaboklab(47.02% 0.1432 -0.1111)
OKLCHoklch(47.02% 0.181 322.2)
XYZxyz(16.2089, 8.9076, 29.2935)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872995 #379529
analogous
#512995 #872995 #95296D
triadic
#872995 #958729 #299587
tetradic
#872995 #955129 #379529 #296D95
square
#872995 #955129 #379529 #296D95
split-complementary
#872995 #6D9529 #299551
monochromatic
#300F35 #5C1C65 #872995 #B236C5 #C664D4

Accessibility & contrast

On white

7.55
#872995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#872995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872995
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872995#FFFFFF#000000##FFFFFF
##8729951.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#385892
Tritanopia (blue-blind)
#893D5C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #872995;
/* rgb */ color: rgb(135, 41, 149);
/* oklch */ color: oklch(47.0% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#ad6cb5',
    500: '#872995',
    950: '#000000',
  },
}
SCSS
$custom: #872995;
$custom-light: #ad6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#872995",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 292.222,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.18128,
    "h": 322.2
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#872995
secondary
#6BBA60
accent
#E0485B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872995

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

Preview Lab → · Contrast checker → · Palette generator →

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