#862CB4#862CB4

#862CB4 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.206 H 311.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#862CB4
RGBrgb(134, 44, 180)
HSLhsl(280, 61%, 44%)
HSVhsv(280, 76%, 71%)
CMYKcmyk(25.6%, 75.6%, 0%, 29.4%)
CIE-LABlab(38.14, 58.84, -54.67)
CIE-LCHlch(38.14, 80.32, 317.10°)
OKLaboklab(49.31% 0.1354 -0.1548)
OKLCHoklch(49.31% 0.206 311.2)
XYZxyz(18.9688, 10.1655, 44.1340)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB4 #5AB42C
analogous
#422CB4 #862CB4 #B42C9E
triadic
#862CB4 #B4862C #2CB486
tetradic
#862CB4 #B4422C #5AB42C #2C9EB4
square
#862CB4 #B4422C #5AB42C #2C9EB4
split-complementary
#862CB4 #9EB42C #2CB442
monochromatic
#3D1452 #612083 #862CB4 #A54AD3 #BD7CDF

Accessibility & contrast

On white

6.92
#862CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862CB4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CB4#FFFFFF#000000##FFFFFF
##862CB41.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#105BB1
Tritanopia (blue-blind)
#804C6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862cb4;
/* rgb */ color: rgb(134, 44, 180);
/* oklch */ color: oklch(49.3% 0.206 311.2);
Tailwind
colors: {
  custom: {
    50: '#ae6fcb',
    500: '#862cb4',
    950: '#000000',
  },
}
SCSS
$custom: #862cb4;
$custom-light: #ae6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb4",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 279.706,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.2057,
    "h": 311.2
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#862CB4
secondary
#91C775
accent
#E4447A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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