#862DAE#862DAE

#862DAE is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.199 H 312.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#862DAE
RGBrgb(134, 45, 174)
HSLhsl(281, 59%, 43%)
HSVhsv(281, 74%, 68%)
CMYKcmyk(23%, 74.1%, 0%, 31.8%)
CIE-LABlab(37.85, 57.20, -51.58)
CIE-LCHlch(37.85, 77.02, 317.95°)
OKLaboklab(48.96% 0.1355 -0.1458)
OKLCHoklch(48.96% 0.199 312.9)
XYZxyz(18.4085, 10.0017, 40.9970)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DAE #55AE2D
analogous
#452DAE #862DAE #AE2D96
triadic
#862DAE #AE862D #2DAE86
tetradic
#862DAE #AE452D #55AE2D #2D96AE
square
#862DAE #AE452D #55AE2D #2D96AE
split-complementary
#862DAE #96AE2D #2DAE45
monochromatic
#3B144D #61207D #862DAE #A648D0 #BE79DC

Accessibility & contrast

On white

7.00
#862DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#862DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DAE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DAE#FFFFFF#000000##FFFFFF
##862DAE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1F5BAB
Tritanopia (blue-blind)
#824A6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862dae;
/* rgb */ color: rgb(134, 45, 174);
/* oklch */ color: oklch(49.0% 0.199 312.9);
Tailwind
colors: {
  custom: {
    50: '#ad6fc7',
    500: '#862dae',
    950: '#000000',
  },
}
SCSS
$custom: #862dae;
$custom-light: #ad6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#862dae",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 281.395,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.19899,
    "h": 312.9
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#862DAE
secondary
#8CC472
accent
#E24676
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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