#862CA6#862CA6

#862CA6 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.193 H 315.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#862CA6
RGBrgb(134, 44, 166)
HSLhsl(284, 58%, 41%)
HSVhsv(284, 73%, 65%)
CMYKcmyk(19.3%, 73.5%, 0%, 34.9%)
CIE-LABlab(37.16, 55.94, -47.91)
CIE-LCHlch(37.16, 73.65, 319.42°)
OKLaboklab(48.3% 0.1375 -0.135)
OKLCHoklch(48.3% 0.193 315.5)
XYZxyz(17.6140, 9.6235, 36.9987)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA6 #4CA62C
analogous
#492CA6 #862CA6 #A62C89
triadic
#862CA6 #A6862C #2CA686
tetradic
#862CA6 #A6492C #4CA62C #2C89A6
square
#862CA6 #A6492C #4CA62C #2C89A6
split-complementary
#862CA6 #89A62C #2CA649
monochromatic
#381245 #5F1F76 #862CA6 #A942CD #BF73DA

Accessibility & contrast

On white

7.18
#862CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862CA6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA6#FFFFFF#000000##FFFFFF
##862CA61.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#295AA3
Tritanopia (blue-blind)
#844667
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862ca6;
/* rgb */ color: rgb(134, 44, 166);
/* oklch */ color: oklch(48.3% 0.193 315.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ec1',
    500: '#862ca6',
    950: '#000000',
  },
}
SCSS
$custom: #862ca6;
$custom-light: #ad6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca6",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 284.262,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.19267,
    "h": 315.5
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#862CA6
secondary
#83C16D
accent
#E1466F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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