#862AA0#862AA0

#862AA0 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.190 H 317.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#862AA0
RGBrgb(134, 42, 160)
HSLhsl(287, 58%, 40%)
HSVhsv(287, 74%, 63%)
CMYKcmyk(16.2%, 73.8%, 0%, 37.3%)
CIE-LABlab(36.49, 55.50, -45.38)
CIE-LCHlch(36.49, 71.69, 320.73°)
OKLaboklab(47.7% 0.1402 -0.1275)
OKLCHoklch(47.7% 0.19 317.7)
XYZxyz(17.0037, 9.2631, 34.1432)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AA0 #44A02A
analogous
#4B2AA0 #862AA0 #A02A7F
triadic
#862AA0 #A0862A #2AA086
tetradic
#862AA0 #A04B2A #44A02A #2A7FA0
square
#862AA0 #A04B2A #44A02A #2A7FA0
split-complementary
#862AA0 #7FA02A #2AA04B
monochromatic
#35113F #5D1D70 #862AA0 #AC3CCC #C16CD8

Accessibility & contrast

On white

7.36
#862AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#862AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862AA0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AA0#FFFFFF#000000##FFFFFF
##862AA01.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#2E599D
Tritanopia (blue-blind)
#854263
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862aa0;
/* rgb */ color: rgb(134, 42, 160);
/* oklch */ color: oklch(47.7% 0.190 317.7);
Tailwind
colors: {
  custom: {
    50: '#ad6dbd',
    500: '#862aa0',
    950: '#000000',
  },
}
SCSS
$custom: #862aa0;
$custom-light: #ad6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#862aa0",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 286.78,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.1895,
    "h": 317.7
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#862AA0
secondary
#7ABF67
accent
#E24668
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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