#872290#872290

#872290 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.185 H 324.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#872290
RGBrgb(135, 34, 144)
HSLhsl(295, 62%, 35%)
HSVhsv(295, 76%, 56%)
CMYKcmyk(6.2%, 76.4%, 0%, 43.5%)
CIE-LABlab(34.62, 55.55, -38.63)
CIE-LCHlch(34.62, 67.66, 325.19°)
OKLaboklab(46.07% 0.1503 -0.1077)
OKLCHoklch(46.07% 0.185 324.4)
XYZxyz(15.5973, 8.3096, 27.1625)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872290 #2B9022
analogous
#502290 #872290 #902262
triadic
#872290 #908722 #229087
tetradic
#872290 #905022 #2B9022 #226290
square
#872290 #905022 #2B9022 #226290
split-complementary
#872290 #629022 #229050
monochromatic
#2A0B2D #59165E #872290 #B52EC2 #CC55D7

Accessibility & contrast

On white

7.89
#872290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#872290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872290
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872290#FFFFFF#000000##FFFFFF
##8722901.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#8A3658
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872290;
/* rgb */ color: rgb(135, 34, 144);
/* oklch */ color: oklch(46.1% 0.185 324.4);
Tailwind
colors: {
  custom: {
    50: '#ae69b1',
    500: '#872290',
    950: '#000000',
  },
}
SCSS
$custom: #872290;
$custom-light: #ae69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#872290",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 295.091,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46072,
    "c": 0.1849,
    "h": 324.4
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#872290
secondary
#5BBB53
accent
#E54350
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872290

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

Preview Lab → · Contrast checker → · Palette generator →

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