#862CB2#862CB2

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

Color values

HEX#862CB2
RGBrgb(134, 44, 178)
HSLhsl(280, 60%, 44%)
HSVhsv(280, 75%, 70%)
CMYKcmyk(24.7%, 75.3%, 0%, 30.2%)
CIE-LABlab(37.99, 58.42, -53.72)
CIE-LCHlch(37.99, 79.36, 317.40°)
OKLaboklab(49.16% 0.1358 -0.152)
OKLCHoklch(49.16% 0.204 311.8)
XYZxyz(18.7666, 10.0846, 43.0688)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB2 #58B22C
analogous
#432CB2 #862CB2 #B22C9B
triadic
#862CB2 #B2862C #2CB286
tetradic
#862CB2 #B2432C #58B22C #2C9BB2
square
#862CB2 #B2432C #58B22C #2C9BB2
split-complementary
#862CB2 #9BB22C #2CB243
monochromatic
#3C1450 #612081 #862CB2 #A549D2 #BD7ADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862CB2#FFFFFF#000000##FFFFFF
##862CB21.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)
#0055B6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#814B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862cb2;
/* rgb */ color: rgb(134, 44, 178);
/* oklch */ color: oklch(49.2% 0.204 311.8);
Tailwind
colors: {
  custom: {
    50: '#ae6fca',
    500: '#862cb2',
    950: '#000000',
  },
}
SCSS
$custom: #862cb2;
$custom-light: #ae6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb2",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 280.299,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.20384,
    "h": 311.8
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#862CB2
secondary
#8FC673
accent
#E44479
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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