#862CD1#862CD1

#862CD1 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.6% C 0.233 H 303.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#862CD1
RGBrgb(134, 44, 209)
HSLhsl(273, 65%, 50%)
HSVhsv(273, 79%, 82%)
CMYKcmyk(35.9%, 78.9%, 0%, 18%)
CIE-LABlab(40.37, 65.14, -68.01)
CIE-LCHlch(40.37, 94.17, 313.77°)
OKLaboklab(51.57% 0.1289 -0.194)
OKLCHoklch(51.57% 0.233 303.6)
XYZxyz(22.2381, 11.4732, 61.3522)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CD1 #77D12C
analogous
#332CD1 #862CD1 #D12CCA
triadic
#862CD1 #D1862C #2CD186
tetradic
#862CD1 #D1332C #77D12C #2CCAD1
square
#862CD1 #D1332C #77D12C #2CCAD1
split-complementary
#862CD1 #CAD12C #2CD133
monochromatic
#45176C #66219E #862CD1 #A35DDD #C090E8

Accessibility & contrast

On white

6.37
#862CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#862CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CD1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CD1#FFFFFF#000000##FFFFFF
##862CD11.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#77597F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #862cd1;
/* rgb */ color: rgb(134, 44, 209);
/* oklch */ color: oklch(51.6% 0.233 303.6);
Tailwind
colors: {
  custom: {
    50: '#b070e0',
    500: '#862cd1',
    950: '#000000',
  },
}
SCSS
$custom: #862cd1;
$custom-light: #b070e0;
$custom-dark: #000000;
JSON
{
  "hex": "#862cd1",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 272.727,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.23291,
    "h": 303.6
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#862CD1
secondary
#A9D287
accent
#E8408C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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