#872391#872391

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

Color values

HEX#872391
RGBrgb(135, 35, 145)
HSLhsl(295, 61%, 35%)
HSVhsv(295, 76%, 57%)
CMYKcmyk(6.9%, 75.9%, 0%, 43.1%)
CIE-LABlab(34.80, 55.40, -38.95)
CIE-LCHlch(34.80, 67.72, 324.89°)
OKLaboklab(46.22% 0.1493 -0.1087)
OKLCHoklch(46.22% 0.185 324)
XYZxyz(15.7031, 8.3983, 27.5765)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872391 #2D9123
analogous
#502391 #872391 #912364
triadic
#872391 #918723 #239187
tetradic
#872391 #915023 #2D9123 #236491
square
#872391 #915023 #2D9123 #236491
split-complementary
#872391 #649123 #239150
monochromatic
#2B0B2E #591760 #872391 #B52FC2 #CB58D7

Accessibility & contrast

On white

7.84
#872391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#872391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872391
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872391#FFFFFF#000000##FFFFFF
##8723911.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#8A3759
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872391;
/* rgb */ color: rgb(135, 35, 145);
/* oklch */ color: oklch(46.2% 0.185 324.0);
Tailwind
colors: {
  custom: {
    50: '#ad69b2',
    500: '#872391',
    950: '#000000',
  },
}
SCSS
$custom: #872391;
$custom-light: #ad69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#872391",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 294.545,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.18467,
    "h": 324
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#872391
secondary
#5EBB55
accent
#E44452
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872391

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

Preview Lab → · Contrast checker → · Palette generator →

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