#862DC3#862DC3

#862DC3 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.219 H 307.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#862DC3
RGBrgb(134, 45, 195)
HSLhsl(276, 63%, 47%)
HSVhsv(276, 77%, 76%)
CMYKcmyk(31.3%, 76.9%, 0%, 23.5%)
CIE-LABlab(39.39, 61.69, -61.47)
CIE-LCHlch(39.39, 87.09, 315.10°)
OKLaboklab(50.54% 0.1315 -0.1748)
OKLCHoklch(50.54% 0.219 307)
XYZxyz(20.6181, 10.8855, 52.6341)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DC3 #6AC32D
analogous
#3B2DC3 #862DC3 #C32DB5
triadic
#862DC3 #C3862D #2DC386
tetradic
#862DC3 #C33B2D #6AC32D #2DB5C3
square
#862DC3 #C33B2D #6AC32D #2DB5C3
split-complementary
#862DC3 #B5C32D #2DC33B
monochromatic
#421660 #642291 #862DC3 #A355D8 #BE87E3

Accessibility & contrast

On white

6.61
#862DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#862DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DC3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DC3#FFFFFF#000000##FFFFFF
##862DC31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7B5377
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862dc3;
/* rgb */ color: rgb(134, 45, 195);
/* oklch */ color: oklch(50.5% 0.219 307.0);
Tailwind
colors: {
  custom: {
    50: '#af70d6',
    500: '#862dc3',
    950: '#000000',
  },
}
SCSS
$custom: #862dc3;
$custom-light: #af70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#862dc3",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 275.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.21877,
    "h": 307
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#862DC3
secondary
#9FCD7F
accent
#E64285
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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