#862CB3#862CB3

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

Color values

HEX#862CB3
RGBrgb(134, 44, 179)
HSLhsl(280, 61%, 44%)
HSVhsv(280, 75%, 70%)
CMYKcmyk(25.1%, 75.4%, 0%, 29.8%)
CIE-LABlab(38.07, 58.63, -54.20)
CIE-LCHlch(38.07, 79.84, 317.25°)
OKLaboklab(49.23% 0.1356 -0.1534)
OKLCHoklch(49.23% 0.205 311.5)
XYZxyz(18.8673, 10.1249, 43.5995)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB3 #59B32C
analogous
#422CB3 #862CB3 #B32C9C
triadic
#862CB3 #B3862C #2CB386
tetradic
#862CB3 #B3422C #59B32C #2C9CB3
square
#862CB3 #B3422C #59B32C #2C9CB3
split-complementary
#862CB3 #9CB32C #2CB342
monochromatic
#3C1451 #612082 #862CB3 #A54AD2 #BD7BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862CB3#FFFFFF#000000##FFFFFF
##862CB31.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)
#0055B7
Deuteranopia (green-blind)
#135BB0
Tritanopia (blue-blind)
#804B6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862cb3;
/* rgb */ color: rgb(134, 44, 179);
/* oklch */ color: oklch(49.2% 0.205 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae6fcb',
    500: '#862cb3',
    950: '#000000',
  },
}
SCSS
$custom: #862cb3;
$custom-light: #ae6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb3",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 280,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.20476,
    "h": 311.5
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#862CB3
secondary
#90C774
accent
#E44479
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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