#862EAA#862EAA

#862EAA is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 314.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#862EAA
RGBrgb(134, 46, 170)
HSLhsl(283, 57%, 42%)
HSVhsv(283, 73%, 67%)
CMYKcmyk(21.2%, 72.9%, 0%, 33.3%)
CIE-LABlab(37.71, 55.97, -49.42)
CIE-LCHlch(37.71, 74.66, 318.55°)
OKLaboklab(48.78% 0.135 -0.1394)
OKLCHoklch(48.78% 0.194 314.1)
XYZxyz(18.0630, 9.9252, 38.9867)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EAA #52AA2E
analogous
#482EAA #862EAA #AA2E90
triadic
#862EAA #AA862E #2EAA86
tetradic
#862EAA #AA482E #52AA2E #2E90AA
square
#862EAA #AA482E #52AA2E #2E90AA
split-complementary
#862EAA #90AA2E #2EAA48
monochromatic
#3A144A #60217A #862EAA #A748CD #BE78DA

Accessibility & contrast

On white

7.04
#862EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862EAA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EAA#FFFFFF#000000##FFFFFF
##862EAA1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#265BA7
Tritanopia (blue-blind)
#834969
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862eaa;
/* rgb */ color: rgb(134, 46, 170);
/* oklch */ color: oklch(48.8% 0.194 314.1);
Tailwind
colors: {
  custom: {
    50: '#ad6fc4',
    500: '#862eaa',
    950: '#000000',
  },
}
SCSS
$custom: #862eaa;
$custom-light: #ad6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#862eaa",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 282.581,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.19408,
    "h": 314.1
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#862EAA
secondary
#89C371
accent
#E14774
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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