#862CC1#862CC1

#862CC1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.218 H 307.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#862CC1
RGBrgb(134, 44, 193)
HSLhsl(276, 63%, 46%)
HSVhsv(276, 77%, 76%)
CMYKcmyk(30.6%, 77.2%, 0%, 24.3%)
CIE-LABlab(39.11, 61.63, -60.76)
CIE-LCHlch(39.11, 86.54, 315.41°)
OKLaboklab(50.29% 0.1328 -0.1727)
OKLCHoklch(50.29% 0.218 307.6)
XYZxyz(20.3558, 10.7202, 51.4386)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CC1 #67C12C
analogous
#3C2CC1 #862CC1 #C12CB2
triadic
#862CC1 #C1862C #2CC186
tetradic
#862CC1 #C13C2C #67C12C #2CB2C1
square
#862CC1 #C13C2C #67C12C #2CB2C1
split-complementary
#862CC1 #B2C12C #2CC13C
monochromatic
#41155D #63218F #862CC1 #A353D8 #BE84E3

Accessibility & contrast

On white

6.68
#862CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#862CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CC1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CC1#FFFFFF#000000##FFFFFF
##862CC11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#7C5276
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862cc1;
/* rgb */ color: rgb(134, 44, 193);
/* oklch */ color: oklch(50.3% 0.218 307.6);
Tailwind
colors: {
  custom: {
    50: '#af6fd5',
    500: '#862cc1',
    950: '#000000',
  },
}
SCSS
$custom: #862cc1;
$custom-light: #af6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#862cc1",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 276.242,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.21788,
    "h": 307.6
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

primary
#862CC1
secondary
#9CCC7D
accent
#E64283
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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