#872893#872893

#872893 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.181 H 323.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#872893
RGBrgb(135, 40, 147)
HSLhsl(293, 57%, 37%)
HSVhsv(293, 73%, 58%)
CMYKcmyk(8.2%, 72.8%, 0%, 42.4%)
CIE-LABlab(35.55, 53.98, -38.98)
CIE-LCHlch(35.55, 66.58, 324.16°)
OKLaboklab(46.79% 0.1443 -0.1088)
OKLCHoklch(46.79% 0.181 323)
XYZxyz(16.0164, 8.7760, 28.4484)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872893 #349328
analogous
#522893 #872893 #93286A
triadic
#872893 #938728 #289387
tetradic
#872893 #935228 #349328 #286A93
square
#872893 #935228 #349328 #286A93
split-complementary
#872893 #6A9328 #289352
monochromatic
#2F0E33 #5B1B63 #872893 #B335C3 #C761D4

Accessibility & contrast

On white

7.62
#872893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#872893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872893
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872893#FFFFFF#000000##FFFFFF
##8728931.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#893B5B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #872893;
/* rgb */ color: rgb(135, 40, 147);
/* oklch */ color: oklch(46.8% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#ad6cb3',
    500: '#872893',
    950: '#000000',
  },
}
SCSS
$custom: #872893;
$custom-light: #ad6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#872893",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 293.271,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.18073,
    "h": 323
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#872893
secondary
#67BA5D
accent
#E04759
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872893

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

Preview Lab → · Contrast checker → · Palette generator →

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