#862CAE#862CAE

#862CAE is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.200 H 313.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#862CAE
RGBrgb(134, 44, 174)
HSLhsl(282, 60%, 43%)
HSVhsv(282, 75%, 68%)
CMYKcmyk(23%, 74.7%, 0%, 31.8%)
CIE-LABlab(37.71, 57.58, -51.80)
CIE-LCHlch(37.71, 77.46, 318.02°)
OKLaboklab(48.87% 0.1364 -0.1464)
OKLCHoklch(48.87% 0.2 313)
XYZxyz(18.3708, 9.9262, 40.9844)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CAE #54AE2C
analogous
#452CAE #862CAE #AE2C95
triadic
#862CAE #AE862C #2CAE86
tetradic
#862CAE #AE452C #54AE2C #2C95AE
square
#862CAE #AE452C #54AE2C #2C95AE
split-complementary
#862CAE #95AE2C #2CAE45
monochromatic
#3B134C #60207D #862CAE #A647D0 #BE78DD

Accessibility & contrast

On white

7.03
#862CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#862CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CAE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CAE#FFFFFF#000000##FFFFFF
##862CAE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#82496B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862cae;
/* rgb */ color: rgb(134, 44, 174);
/* oklch */ color: oklch(48.9% 0.200 313.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ec7',
    500: '#862cae',
    950: '#000000',
  },
}
SCSS
$custom: #862cae;
$custom-light: #ae6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#862cae",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 281.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.2001,
    "h": 313
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#862CAE
secondary
#8BC571
accent
#E34576
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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