#862DB0#862DB0

#862DB0 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.1% C 0.201 H 312.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#862DB0
RGBrgb(134, 45, 176)
HSLhsl(281, 59%, 43%)
HSVhsv(281, 74%, 69%)
CMYKcmyk(23.9%, 74.4%, 0%, 31%)
CIE-LABlab(37.99, 57.61, -52.55)
CIE-LCHlch(37.99, 77.98, 317.63°)
OKLaboklab(49.11% 0.1352 -0.1486)
OKLCHoklch(49.11% 0.201 312.3)
XYZxyz(18.6049, 10.0802, 42.0315)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DB0 #57B02D
analogous
#442DB0 #862DB0 #B02D98
triadic
#862DB0 #B0862D #2DB086
tetradic
#862DB0 #B0442D #57B02D #2D98B0
square
#862DB0 #B0442D #57B02D #2D98B0
split-complementary
#862DB0 #98B02D #2DB044
monochromatic
#3C144F #61217F #862DB0 #A54AD1 #BD7ADD

Accessibility & contrast

On white

6.96
#862DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862DB0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DB0#FFFFFF#000000##FFFFFF
##862DB01.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#814B6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862db0;
/* rgb */ color: rgb(134, 45, 176);
/* oklch */ color: oklch(49.1% 0.201 312.3);
Tailwind
colors: {
  custom: {
    50: '#ae6fc8',
    500: '#862db0',
    950: '#000000',
  },
}
SCSS
$custom: #862db0;
$custom-light: #ae6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#862db0",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 280.763,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.20086,
    "h": 312.3
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#862DB0
secondary
#8EC573
accent
#E24578
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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