#862CAC#862CAC

#862CAC is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 313.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#862CAC
RGBrgb(134, 44, 172)
HSLhsl(282, 59%, 42%)
HSVhsv(282, 74%, 67%)
CMYKcmyk(22.1%, 74.4%, 0%, 32.5%)
CIE-LABlab(37.57, 57.17, -50.84)
CIE-LCHlch(37.57, 76.50, 318.35°)
OKLaboklab(48.73% 0.1367 -0.1436)
OKLCHoklch(48.73% 0.198 313.6)
XYZxyz(18.1773, 9.8488, 39.9652)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CAC #52AC2C
analogous
#462CAC #862CAC #AC2C92
triadic
#862CAC #AC862C #2CAC86
tetradic
#862CAC #AC462C #52AC2C #2C92AC
square
#862CAC #AC462C #52AC2C #2C92AC
split-complementary
#862CAC #92AC2C #2CAC46
monochromatic
#3A134B #60207B #862CAC #A746D0 #BE76DC

Accessibility & contrast

On white

7.07
#862CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#862CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CAC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CAC#FFFFFF#000000##FFFFFF
##862CAC1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#215AA9
Tritanopia (blue-blind)
#82486A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862cac;
/* rgb */ color: rgb(134, 44, 172);
/* oklch */ color: oklch(48.7% 0.198 313.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ec5',
    500: '#862cac',
    950: '#000000',
  },
}
SCSS
$custom: #862cac;
$custom-light: #ad6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#862cac",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 282.188,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.19825,
    "h": 313.6
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#862CAC
secondary
#89C470
accent
#E24574
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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