#862CB6#862CB6

#862CB6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 310.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#862CB6
RGBrgb(134, 44, 182)
HSLhsl(279, 61%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.4%, 75.8%, 0%, 28.6%)
CIE-LABlab(38.28, 59.27, -55.62)
CIE-LCHlch(38.28, 81.28, 316.82°)
OKLaboklab(49.45% 0.1351 -0.1576)
OKLCHoklch(49.45% 0.208 310.6)
XYZxyz(19.1741, 10.2475, 45.2148)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB6 #5CB62C
analogous
#412CB6 #862CB6 #B62CA1
triadic
#862CB6 #B6862C #2CB686
tetradic
#862CB6 #B6412C #5CB62C #2CA1B6
square
#862CB6 #B6412C #5CB62C #2CA1B6
split-complementary
#862CB6 #A1B62C #2CB641
monochromatic
#3D1453 #622085 #862CB6 #A44CD4 #BD7DE0

Accessibility & contrast

On white

6.89
#862CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#862CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CB6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CB6#FFFFFF#000000##FFFFFF
##862CB61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#095CB3
Tritanopia (blue-blind)
#7F4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862cb6;
/* rgb */ color: rgb(134, 44, 182);
/* oklch */ color: oklch(49.5% 0.208 310.6);
Tailwind
colors: {
  custom: {
    50: '#ae6fcd',
    500: '#862cb6',
    950: '#000000',
  },
}
SCSS
$custom: #862cb6;
$custom-light: #ae6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb6",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 279.13,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.20757,
    "h": 310.6
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#862CB6
secondary
#92C876
accent
#E4447B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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