#862DA5#862DA5

#862DA5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.191 H 315.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#862DA5
RGBrgb(134, 45, 165)
HSLhsl(285, 57%, 41%)
HSVhsv(285, 73%, 65%)
CMYKcmyk(18.8%, 72.7%, 0%, 35.3%)
CIE-LABlab(37.23, 55.34, -47.20)
CIE-LCHlch(37.23, 72.73, 319.54°)
OKLaboklab(48.33% 0.1366 -0.1329)
OKLCHoklch(48.33% 0.191 315.8)
XYZxyz(17.5604, 9.6624, 36.5300)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DA5 #4CA52D
analogous
#4A2DA5 #862DA5 #A52D88
triadic
#862DA5 #A5862D #2DA586
tetradic
#862DA5 #A54A2D #4CA52D #2D88A5
square
#862DA5 #A54A2D #4CA52D #2D88A5
split-complementary
#862DA5 #88A52D #2DA54A
monochromatic
#381345 #5F2075 #862DA5 #A943CC #BF73D9

Accessibility & contrast

On white

7.16
#862DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#862DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862DA5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DA5#FFFFFF#000000##FFFFFF
##862DA51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#844666
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862da5;
/* rgb */ color: rgb(134, 45, 165);
/* oklch */ color: oklch(48.3% 0.191 315.8);
Tailwind
colors: {
  custom: {
    50: '#ad6fc0',
    500: '#862da5',
    950: '#000000',
  },
}
SCSS
$custom: #862da5;
$custom-light: #ad6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#862da5",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 284.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.19058,
    "h": 315.8
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#862DA5
secondary
#83C16D
accent
#E0476F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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