#862CA0#862CA0

#862CA0 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 317.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#862CA0
RGBrgb(134, 44, 160)
HSLhsl(287, 57%, 40%)
HSVhsv(287, 73%, 63%)
CMYKcmyk(16.2%, 72.5%, 0%, 37.3%)
CIE-LABlab(36.76, 54.72, -44.94)
CIE-LCHlch(36.76, 70.81, 320.60°)
OKLaboklab(47.89% 0.1381 -0.1263)
OKLCHoklch(47.89% 0.187 317.6)
XYZxyz(17.0764, 9.4085, 34.1674)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA0 #46A02C
analogous
#4C2CA0 #862CA0 #A02C80
triadic
#862CA0 #A0862C #2CA086
tetradic
#862CA0 #A04C2C #46A02C #2C80A0
square
#862CA0 #A04C2C #46A02C #2C80A0
split-complementary
#862CA0 #80A02C #2CA04C
monochromatic
#361240 #5E1F70 #862CA0 #AB3FCA #C06FD7

Accessibility & contrast

On white

7.29
#862CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#862CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CA0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA0#FFFFFF#000000##FFFFFF
##862CA01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#854363
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862ca0;
/* rgb */ color: rgb(134, 44, 160);
/* oklch */ color: oklch(47.9% 0.187 317.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ebd',
    500: '#862ca0',
    950: '#000000',
  },
}
SCSS
$custom: #862ca0;
$custom-light: #ad6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca0",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 286.552,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.47891,
    "c": 0.18715,
    "h": 317.6
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#862CA0
secondary
#7CBF69
accent
#E0486A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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