#862EAD#862EAD

#862EAD is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.197 H 313.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#862EAD
RGBrgb(134, 46, 173)
HSLhsl(282, 58%, 43%)
HSVhsv(282, 73%, 68%)
CMYKcmyk(22.5%, 73.4%, 0%, 32.2%)
CIE-LABlab(37.91, 56.59, -50.88)
CIE-LCHlch(37.91, 76.10, 318.04°)
OKLaboklab(48.99% 0.1346 -0.1437)
OKLCHoklch(48.99% 0.197 313.1)
XYZxyz(18.3500, 10.0400, 40.4983)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EAD #55AD2E
analogous
#472EAD #862EAD #AD2E94
triadic
#862EAD #AD862E #2EAD86
tetradic
#862EAD #AD472E #55AD2E #2E94AD
square
#862EAD #AD472E #55AD2E #2E94AD
split-complementary
#862EAD #94AD2E #2EAD47
monochromatic
#3B144C #61217D #862EAD #A649CF #BE7ADC

Accessibility & contrast

On white

6.98
#862EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#862EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EAD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EAD#FFFFFF#000000##FFFFFF
##862EAD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#225BAA
Tritanopia (blue-blind)
#824A6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862ead;
/* rgb */ color: rgb(134, 46, 173);
/* oklch */ color: oklch(49.0% 0.197 313.1);
Tailwind
colors: {
  custom: {
    50: '#ad6fc6',
    500: '#862ead',
    950: '#000000',
  },
}
SCSS
$custom: #862ead;
$custom-light: #ad6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#862ead",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 281.575,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.19691,
    "h": 313.1
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#862EAD
secondary
#8CC473
accent
#E14776
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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