#862CC5#862CC5

#862CC5 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.222 H 306.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#862CC5
RGBrgb(134, 44, 197)
HSLhsl(275, 63%, 47%)
HSVhsv(275, 78%, 77%)
CMYKcmyk(32%, 77.7%, 0%, 22.7%)
CIE-LABlab(39.41, 62.50, -62.59)
CIE-LCHlch(39.41, 88.45, 314.96°)
OKLaboklab(50.6% 0.1319 -0.1781)
OKLCHoklch(50.6% 0.222 306.5)
XYZxyz(20.8080, 10.9011, 53.8204)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CC5 #6BC52C
analogous
#3A2CC5 #862CC5 #C52CB8
triadic
#862CC5 #C5862C #2CC586
tetradic
#862CC5 #C53A2C #6BC52C #2CB8C5
square
#862CC5 #C53A2C #6BC52C #2CB8C5
split-complementary
#862CC5 #B8C52C #2CC53A
monochromatic
#421661 #642193 #862CC5 #A355D9 #BE87E4

Accessibility & contrast

On white

6.60
#862CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862CC5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CC5#FFFFFF#000000##FFFFFF
##862CC51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#7B5378
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862cc5;
/* rgb */ color: rgb(134, 44, 197);
/* oklch */ color: oklch(50.6% 0.222 306.5);
Tailwind
colors: {
  custom: {
    50: '#af70d8',
    500: '#862cc5',
    950: '#000000',
  },
}
SCSS
$custom: #862cc5;
$custom-light: #af70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#862cc5",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 275.294,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.22164,
    "h": 306.5
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#862CC5
secondary
#9FCE7F
accent
#E74185
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #862CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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