#872090#872090

#872090 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 324.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#872090
RGBrgb(135, 32, 144)
HSLhsl(295, 64%, 35%)
HSVhsv(295, 78%, 56%)
CMYKcmyk(6.2%, 77.8%, 0%, 43.5%)
CIE-LABlab(34.39, 56.21, -38.99)
CIE-LCHlch(34.39, 68.40, 325.25°)
OKLaboklab(45.91% 0.1521 -0.1087)
OKLCHoklch(45.91% 0.187 324.4)
XYZxyz(15.5418, 8.1985, 27.1440)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872090 #299020
analogous
#4F2090 #872090 #902061
triadic
#872090 #908720 #209087
tetradic
#872090 #904F20 #299020 #206190
square
#872090 #904F20 #299020 #206190
split-complementary
#872090 #619020 #20904F
monochromatic
#290A2C #58155E #872090 #B62BC2 #CE52D9

Accessibility & contrast

On white

7.96
#872090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#872090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872090
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872090#FFFFFF#000000##FFFFFF
##8720901.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#8A3557
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872090;
/* rgb */ color: rgb(135, 32, 144);
/* oklch */ color: oklch(45.9% 0.187 324.4);
Tailwind
colors: {
  custom: {
    50: '#ae68b1',
    500: '#872090',
    950: '#000000',
  },
}
SCSS
$custom: #872090;
$custom-light: #ae68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#872090",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 295.179,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.18696,
    "h": 324.4
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#872090
secondary
#59BC50
accent
#E7414E
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872090

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

Preview Lab → · Contrast checker → · Palette generator →

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