#862386#862386

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

Color values

HEX#862386
RGBrgb(134, 35, 134)
HSLhsl(300, 59%, 33%)
HSVhsv(300, 74%, 53%)
CMYKcmyk(0%, 73.9%, 0%, 47.5%)
CIE-LABlab(33.97, 53.23, -33.50)
CIE-LCHlch(33.97, 62.89, 327.81°)
OKLaboklab(45.38% 0.1485 -0.0928)
OKLCHoklch(45.38% 0.175 328)
XYZxyz(14.7354, 7.9927, 23.3163)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862386 #238623
analogous
#542386 #862386 #862354
triadic
#862386 #868623 #238686
tetradic
#862386 #865423 #238623 #235486
square
#862386 #865423 #238623 #235486
split-complementary
#862386 #548623 #238654
monochromatic
#250A25 #551655 #862386 #B730B7 #D252D2

Accessibility & contrast

On white

8.08
#862386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862386
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862386#FFFFFF#000000##FFFFFF
##8623861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#3E5484
Tritanopia (blue-blind)
#8A3252
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862386;
/* rgb */ color: rgb(134, 35, 134);
/* oklch */ color: oklch(45.4% 0.175 328.0);
Tailwind
colors: {
  custom: {
    50: '#ad69aa',
    500: '#862386',
    950: '#000000',
  },
}
SCSS
$custom: #862386;
$custom-light: #ad69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862386",
  "rgb": {
    "r": 134,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.17511,
    "h": 328
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#862386
secondary
#4FB54F
accent
#E24646
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862386

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

Preview Lab → · Contrast checker → · Palette generator →

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