#862DB2#862DB2

#862DB2 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.203 H 311.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#862DB2
RGBrgb(134, 45, 178)
HSLhsl(280, 60%, 44%)
HSVhsv(280, 75%, 70%)
CMYKcmyk(24.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(38.13, 58.04, -53.50)
CIE-LCHlch(38.13, 78.93, 317.33°)
OKLaboklab(49.25% 0.1349 -0.1514)
OKLCHoklch(49.25% 0.203 311.7)
XYZxyz(18.8043, 10.1600, 43.0813)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DB2 #59B22D
analogous
#432DB2 #862DB2 #B22D9B
triadic
#862DB2 #B2862D #2DB286
tetradic
#862DB2 #B2432D #59B22D #2D9BB2
square
#862DB2 #B2432D #59B22D #2D9BB2
split-complementary
#862DB2 #9BB22D #2DB243
monochromatic
#3C1450 #612181 #862DB2 #A54BD1 #BD7CDE

Accessibility & contrast

On white

6.93
#862DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#862DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DB2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DB2#FFFFFF#000000##FFFFFF
##862DB21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#175BAF
Tritanopia (blue-blind)
#814C6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862db2;
/* rgb */ color: rgb(134, 45, 178);
/* oklch */ color: oklch(49.3% 0.203 311.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fca',
    500: '#862db2',
    950: '#000000',
  },
}
SCSS
$custom: #862db2;
$custom-light: #ae6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#862db2",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 280.15,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.20275,
    "h": 311.7
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#862DB2
secondary
#90C675
accent
#E34579
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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