#862FAD#862FAD

#862FAD is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 313.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#862FAD
RGBrgb(134, 47, 173)
HSLhsl(281, 57%, 43%)
HSVhsv(281, 73%, 68%)
CMYKcmyk(22.5%, 72.8%, 0%, 32.2%)
CIE-LABlab(38.06, 56.19, -50.65)
CIE-LCHlch(38.06, 75.65, 317.97°)
OKLaboklab(49.09% 0.1336 -0.143)
OKLCHoklch(49.09% 0.196 313.1)
XYZxyz(18.3895, 10.1191, 40.5115)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FAD #56AD2F
analogous
#472FAD #862FAD #AD2F95
triadic
#862FAD #AD862F #2FAD86
tetradic
#862FAD #AD472F #56AD2F #2F95AD
square
#862FAD #AD472F #56AD2F #2F95AD
split-complementary
#862FAD #95AD2F #2FAD47
monochromatic
#3B154D #61227D #862FAD #A64BCE #BD7BDB

Accessibility & contrast

On white

6.95
#862FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#862FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FAD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FAD#FFFFFF#000000##FFFFFF
##862FAD1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#235BAA
Tritanopia (blue-blind)
#824B6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862fad;
/* rgb */ color: rgb(134, 47, 173);
/* oklch */ color: oklch(49.1% 0.196 313.1);
Tailwind
colors: {
  custom: {
    50: '#ad70c6',
    500: '#862fad',
    950: '#000000',
  },
}
SCSS
$custom: #862fad;
$custom-light: #ad70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#862fad",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 281.429,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.19575,
    "h": 313.1
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#862FAD
secondary
#8DC474
accent
#E14777
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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