#862BA0#862BA0

#862BA0 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.188 H 317.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#862BA0
RGBrgb(134, 43, 160)
HSLhsl(287, 58%, 40%)
HSVhsv(287, 73%, 63%)
CMYKcmyk(16.2%, 73.1%, 0%, 37.3%)
CIE-LABlab(36.62, 55.12, -45.17)
CIE-LCHlch(36.62, 71.26, 320.67°)
OKLaboklab(47.79% 0.1392 -0.1269)
OKLCHoklch(47.79% 0.188 317.6)
XYZxyz(17.0396, 9.3349, 34.1551)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BA0 #45A02B
analogous
#4C2BA0 #862BA0 #A02B7F
triadic
#862BA0 #A0862B #2BA086
tetradic
#862BA0 #A04C2B #45A02B #2B7FA0
square
#862BA0 #A04C2B #45A02B #2B7FA0
split-complementary
#862BA0 #7FA02B #2BA04C
monochromatic
#351140 #5E1E70 #862BA0 #AB3DCB #C06ED8

Accessibility & contrast

On white

7.33
#862BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#862BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BA0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BA0#FFFFFF#000000##FFFFFF
##862BA01.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862ba0;
/* rgb */ color: rgb(134, 43, 160);
/* oklch */ color: oklch(47.8% 0.188 317.6);
Tailwind
colors: {
  custom: {
    50: '#ad6dbd',
    500: '#862ba0',
    950: '#000000',
  },
}
SCSS
$custom: #862ba0;
$custom-light: #ad6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#862ba0",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 286.667,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.18834,
    "h": 317.6
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#862BA0
secondary
#7BBF68
accent
#E14769
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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