#862CC3#862CC3

#862CC3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.220 H 307.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#862CC3
RGBrgb(134, 44, 195)
HSLhsl(276, 63%, 47%)
HSVhsv(276, 77%, 76%)
CMYKcmyk(31.3%, 77.4%, 0%, 23.5%)
CIE-LABlab(39.26, 62.06, -61.68)
CIE-LCHlch(39.26, 87.50, 315.18°)
OKLaboklab(50.45% 0.1324 -0.1754)
OKLCHoklch(50.45% 0.22 307)
XYZxyz(20.5804, 10.8101, 52.6215)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CC3 #69C32C
analogous
#3B2CC3 #862CC3 #C32CB5
triadic
#862CC3 #C3862C #2CC386
tetradic
#862CC3 #C33B2C #69C32C #2CB5C3
square
#862CC3 #C33B2C #69C32C #2CB5C3
split-complementary
#862CC3 #B5C32C #2CC33B
monochromatic
#41155F #642191 #862CC3 #A354D8 #BE86E4

Accessibility & contrast

On white

6.64
#862CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#862CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CC3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CC3#FFFFFF#000000##FFFFFF
##862CC31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862cc3;
/* rgb */ color: rgb(134, 44, 195);
/* oklch */ color: oklch(50.4% 0.220 307.0);
Tailwind
colors: {
  custom: {
    50: '#af6fd6',
    500: '#862cc3',
    950: '#000000',
  },
}
SCSS
$custom: #862cc3;
$custom-light: #af6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#862cc3",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 275.762,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.21975,
    "h": 307
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#862CC3
secondary
#9ECD7E
accent
#E64284
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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