#862CB1#862CB1

#862CB1 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.203 H 312.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#862CB1
RGBrgb(134, 44, 177)
HSLhsl(281, 60%, 43%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(24.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(37.92, 58.21, -53.24)
CIE-LCHlch(37.92, 78.89, 317.55°)
OKLaboklab(49.09% 0.1359 -0.1506)
OKLCHoklch(49.09% 0.203 312.1)
XYZxyz(18.6665, 10.0445, 42.5419)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB1 #57B12C
analogous
#442CB1 #862CB1 #B12C99
triadic
#862CB1 #B1862C #2CB186
tetradic
#862CB1 #B1442C #57B12C #2C99B1
square
#862CB1 #B1442C #57B12C #2C99B1
split-complementary
#862CB1 #99B12C #2CB144
monochromatic
#3C144F #612080 #862CB1 #A549D2 #BD7ADE

Accessibility & contrast

On white

6.98
#862CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#862CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CB1
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CB1#FFFFFF#000000##FFFFFF
##862CB11.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#814B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862cb1;
/* rgb */ color: rgb(134, 44, 177);
/* oklch */ color: oklch(49.1% 0.203 312.1);
Tailwind
colors: {
  custom: {
    50: '#ae6fc9',
    500: '#862cb1',
    950: '#000000',
  },
}
SCSS
$custom: #862cb1;
$custom-light: #ae6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb1",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 280.602,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.20289,
    "h": 312.1
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#862CB1
secondary
#8EC673
accent
#E34478
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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