#862EAC#862EAC

#862EAC is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.196 H 313.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#862EAC
RGBrgb(134, 46, 172)
HSLhsl(282, 58%, 43%)
HSVhsv(282, 73%, 67%)
CMYKcmyk(22.1%, 73.3%, 0%, 32.5%)
CIE-LABlab(37.85, 56.38, -50.39)
CIE-LCHlch(37.85, 75.62, 318.21°)
OKLaboklab(48.92% 0.1348 -0.1423)
OKLCHoklch(48.92% 0.196 313.4)
XYZxyz(18.2536, 10.0015, 39.9907)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EAC #54AC2E
analogous
#472EAC #862EAC #AC2E93
triadic
#862EAC #AC862E #2EAC86
tetradic
#862EAC #AC472E #54AC2E #2E93AC
square
#862EAC #AC472E #54AC2E #2E93AC
split-complementary
#862EAC #93AC2E #2EAC47
monochromatic
#3B144B #60217C #862EAC #A649CE #BE79DB

Accessibility & contrast

On white

7.00
#862EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#862EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EAC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EAC#FFFFFF#000000##FFFFFF
##862EAC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#824A6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862eac;
/* rgb */ color: rgb(134, 46, 172);
/* oklch */ color: oklch(48.9% 0.196 313.4);
Tailwind
colors: {
  custom: {
    50: '#ad6fc5',
    500: '#862eac',
    950: '#000000',
  },
}
SCSS
$custom: #862eac;
$custom-light: #ad6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#862eac",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 281.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.19597,
    "h": 313.4
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#862EAC
secondary
#8BC372
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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