#862DB1#862DB1

#862DB1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.202 H 312.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#862DB1
RGBrgb(134, 45, 177)
HSLhsl(280, 59%, 44%)
HSVhsv(280, 75%, 69%)
CMYKcmyk(24.3%, 74.6%, 0%, 30.6%)
CIE-LABlab(38.06, 57.83, -53.02)
CIE-LCHlch(38.06, 78.46, 317.48°)
OKLaboklab(49.18% 0.135 -0.15)
OKLCHoklch(49.18% 0.202 312)
XYZxyz(18.7042, 10.1199, 42.5545)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DB1 #58B12D
analogous
#442DB1 #862DB1 #B12D9A
triadic
#862DB1 #B1862D #2DB186
tetradic
#862DB1 #B1442D #58B12D #2D9AB1
square
#862DB1 #B1442D #58B12D #2D9AB1
split-complementary
#862DB1 #9AB12D #2DB144
monochromatic
#3C144F #612180 #862DB1 #A54AD1 #BD7BDD

Accessibility & contrast

On white

6.94
#862DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#862DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DB1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DB1#FFFFFF#000000##FFFFFF
##862DB11.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#814B6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862db1;
/* rgb */ color: rgb(134, 45, 177);
/* oklch */ color: oklch(49.2% 0.202 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae6fc9',
    500: '#862db1',
    950: '#000000',
  },
}
SCSS
$custom: #862db1;
$custom-light: #ae6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#862db1",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 280.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.2018,
    "h": 312
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#862DB1
secondary
#8FC674
accent
#E34578
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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