#862EAE#862EAE

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

Color values

HEX#862EAE
RGBrgb(134, 46, 174)
HSLhsl(281, 58%, 43%)
HSVhsv(281, 74%, 68%)
CMYKcmyk(23%, 73.6%, 0%, 31.8%)
CIE-LABlab(37.98, 56.80, -51.36)
CIE-LCHlch(37.98, 76.58, 317.88°)
OKLaboklab(49.06% 0.1345 -0.1451)
OKLCHoklch(49.06% 0.198 312.8)
XYZxyz(18.4471, 10.0789, 41.0099)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EAE #56AE2E
analogous
#462EAE #862EAE #AE2E96
triadic
#862EAE #AE862E #2EAE86
tetradic
#862EAE #AE462E #56AE2E #2E96AE
square
#862EAE #AE462E #56AE2E #2E96AE
split-complementary
#862EAE #96AE2E #2EAE46
monochromatic
#3B144D #61217E #862EAE #A64ACF #BD7ADC

Accessibility & contrast

On white

6.96
#862EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862EAE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EAE#FFFFFF#000000##FFFFFF
##862EAE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#824A6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862eae;
/* rgb */ color: rgb(134, 46, 174);
/* oklch */ color: oklch(49.1% 0.198 312.8);
Tailwind
colors: {
  custom: {
    50: '#ad6fc7',
    500: '#862eae',
    950: '#000000',
  },
}
SCSS
$custom: #862eae;
$custom-light: #ad6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#862eae",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 281.25,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.19786,
    "h": 312.8
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #862EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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