#862387#862387

#862387 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.176 H 327.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#862387
RGBrgb(134, 35, 135)
HSLhsl(299, 59%, 33%)
HSVhsv(299, 74%, 53%)
CMYKcmyk(0.7%, 74.1%, 0%, 47.1%)
CIE-LABlab(34.03, 53.40, -34.03)
CIE-LCHlch(34.03, 63.32, 327.49°)
OKLaboklab(45.44% 0.1485 -0.0943)
OKLCHoklch(45.44% 0.176 327.6)
XYZxyz(14.8055, 8.0207, 23.6853)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862387 #248723
analogous
#542387 #862387 #872356
triadic
#862387 #878623 #238786
tetradic
#862387 #875423 #248723 #235687
square
#862387 #875423 #248723 #235687
split-complementary
#862387 #568723 #238754
monochromatic
#260A26 #561656 #862387 #B630B8 #D152D2

Accessibility & contrast

On white

8.06
#862387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#862387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862387
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862387#FFFFFF#000000##FFFFFF
##8623871.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#3D5485
Tritanopia (blue-blind)
#8A3353
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862387;
/* rgb */ color: rgb(134, 35, 135);
/* oklch */ color: oklch(45.4% 0.176 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad69aa',
    500: '#862387',
    950: '#000000',
  },
}
SCSS
$custom: #862387;
$custom-light: #ad69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862387",
  "rgb": {
    "r": 134,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 299.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.17592,
    "h": 327.6
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#862387
secondary
#51B650
accent
#E24647
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862387

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

Preview Lab → · Contrast checker → · Palette generator →

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