#862AAE#862AAE

#862AAE is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.202 H 313.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#862AAE
RGBrgb(134, 42, 174)
HSLhsl(282, 61%, 42%)
HSVhsv(282, 76%, 68%)
CMYKcmyk(23%, 75.9%, 0%, 31.8%)
CIE-LABlab(37.45, 58.34, -52.23)
CIE-LCHlch(37.45, 78.30, 318.16°)
OKLaboklab(48.68% 0.1383 -0.1476)
OKLCHoklch(48.68% 0.202 313.1)
XYZxyz(18.2981, 9.7808, 40.9602)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AAE #52AE2A
analogous
#442AAE #862AAE #AE2A94
triadic
#862AAE #AE862A #2AAE86
tetradic
#862AAE #AE442A #52AE2A #2A94AE
square
#862AAE #AE442A #52AE2A #2A94AE
split-complementary
#862AAE #94AE2A #2AAE44
monochromatic
#3A124B #601E7D #862AAE #A743D2 #BE75DE

Accessibility & contrast

On white

7.10
#862AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#862AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862AAE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AAE#FFFFFF#000000##FFFFFF
##862AAE1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#1B5AAB
Tritanopia (blue-blind)
#82486B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862aae;
/* rgb */ color: rgb(134, 42, 174);
/* oklch */ color: oklch(48.7% 0.202 313.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ec7',
    500: '#862aae',
    950: '#000000',
  },
}
SCSS
$custom: #862aae;
$custom-light: #ae6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#862aae",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 281.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.20228,
    "h": 313.1
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#862AAE
secondary
#89C56F
accent
#E44474
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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