#862CA5#862CA5

#862CA5 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.192 H 315.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#862CA5
RGBrgb(134, 44, 165)
HSLhsl(285, 58%, 41%)
HSVhsv(285, 73%, 65%)
CMYKcmyk(18.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(37.09, 55.73, -47.42)
CIE-LCHlch(37.09, 73.18, 319.61°)
OKLaboklab(48.23% 0.1376 -0.1335)
OKLCHoklch(48.23% 0.192 315.9)
XYZxyz(17.5227, 9.5870, 36.5175)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA5 #4BA52C
analogous
#492CA5 #862CA5 #A52C87
triadic
#862CA5 #A5862C #2CA586
tetradic
#862CA5 #A5492C #4BA52C #2C87A5
square
#862CA5 #A5492C #4BA52C #2C87A5
split-complementary
#862CA5 #87A52C #2CA549
monochromatic
#381244 #5F1F75 #862CA5 #A942CD #BF72D9

Accessibility & contrast

On white

7.20
#862CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#862CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CA5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA5#FFFFFF#000000##FFFFFF
##862CA51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2A5AA2
Tritanopia (blue-blind)
#844566
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862ca5;
/* rgb */ color: rgb(134, 44, 165);
/* oklch */ color: oklch(48.2% 0.192 315.9);
Tailwind
colors: {
  custom: {
    50: '#ad6ec0',
    500: '#862ca5',
    950: '#000000',
  },
}
SCSS
$custom: #862ca5;
$custom-light: #ad6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca5",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 284.628,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.19175,
    "h": 315.9
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#862CA5
secondary
#82C16C
accent
#E1476E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862CA5

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

Preview Lab → · Contrast checker → · Palette generator →

#862CA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva