#862CAD#862CAD

#862CAD is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.199 H 313.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#862CAD
RGBrgb(134, 44, 173)
HSLhsl(282, 59%, 43%)
HSVhsv(282, 75%, 68%)
CMYKcmyk(22.5%, 74.6%, 0%, 32.2%)
CIE-LABlab(37.64, 57.37, -51.32)
CIE-LCHlch(37.64, 76.98, 318.19°)
OKLaboklab(48.8% 0.1366 -0.145)
OKLCHoklch(48.8% 0.199 313.3)
XYZxyz(18.2737, 9.8874, 40.4729)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CAD #53AD2C
analogous
#452CAD #862CAD #AD2C94
triadic
#862CAD #AD862C #2CAD86
tetradic
#862CAD #AD452C #53AD2C #2C94AD
square
#862CAD #AD452C #53AD2C #2C94AD
split-complementary
#862CAD #94AD2C #2CAD45
monochromatic
#3A134B #60207C #862CAD #A646D0 #BE77DC

Accessibility & contrast

On white

7.05
#862CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#862CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CAD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CAD#FFFFFF#000000##FFFFFF
##862CAD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#1F5BAA
Tritanopia (blue-blind)
#82496A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862cad;
/* rgb */ color: rgb(134, 44, 173);
/* oklch */ color: oklch(48.8% 0.199 313.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ec6',
    500: '#862cad',
    950: '#000000',
  },
}
SCSS
$custom: #862cad;
$custom-light: #ad6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#862cad",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 281.86,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.19917,
    "h": 313.3
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#862CAD
secondary
#8AC471
accent
#E34575
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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