#862EC3#862EC3

#862EC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.218 H 306.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#862EC3
RGBrgb(134, 46, 195)
HSLhsl(275, 62%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.3%, 76.4%, 0%, 23.5%)
CIE-LABlab(39.52, 61.32, -61.26)
CIE-LCHlch(39.52, 86.67, 315.03°)
OKLaboklab(50.63% 0.1307 -0.1742)
OKLCHoklch(50.63% 0.218 306.9)
XYZxyz(20.6567, 10.9627, 52.6470)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EC3 #6BC32E
analogous
#3B2EC3 #862EC3 #C32EB6
triadic
#862EC3 #C3862E #2EC386
tetradic
#862EC3 #C33B2E #6BC32E #2EB6C3
square
#862EC3 #C33B2E #6BC32E #2EB6C3
split-complementary
#862EC3 #B6C32E #2EC33B
monochromatic
#421760 #642291 #862EC3 #A357D7 #BE88E3

Accessibility & contrast

On white

6.58
#862EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#862EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EC3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EC3#FFFFFF#000000##FFFFFF
##862EC31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862ec3;
/* rgb */ color: rgb(134, 46, 195);
/* oklch */ color: oklch(50.6% 0.218 306.9);
Tailwind
colors: {
  custom: {
    50: '#af70d6',
    500: '#862ec3',
    950: '#000000',
  },
}
SCSS
$custom: #862ec3;
$custom-light: #af70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#862ec3",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 275.436,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.21777,
    "h": 306.9
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#862EC3
secondary
#9FCD80
accent
#E54385
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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