#862BCC#862BCC

#862BCC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.1% C 0.229 H 304.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#862BCC
RGBrgb(134, 43, 204)
HSLhsl(274, 65%, 48%)
HSVhsv(274, 79%, 80%)
CMYKcmyk(34.3%, 78.9%, 0%, 20%)
CIE-LABlab(39.84, 64.39, -65.97)
CIE-LCHlch(39.84, 92.18, 314.31°)
OKLaboklab(51.07% 0.131 -0.188)
OKLCHoklch(51.07% 0.229 304.9)
XYZxyz(21.5920, 11.1558, 58.1308)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BCC #71CC2B
analogous
#352BCC #862BCC #CC2BC1
triadic
#862BCC #CC862B #2BCC86
tetradic
#862BCC #CC352B #71CC2B #2BC1CC
square
#862BCC #CC352B #71CC2B #2BC1CC
split-complementary
#862BCC #C1CC2B #2BCC35
monochromatic
#441667 #652099 #862BCC #A358DC #BF8BE7

Accessibility & contrast

On white

6.50
#862BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#862BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BCC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BCC#FFFFFF#000000##FFFFFF
##862BCC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#79567C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862bcc;
/* rgb */ color: rgb(134, 43, 204);
/* oklch */ color: oklch(51.1% 0.229 304.9);
Tailwind
colors: {
  custom: {
    50: '#b06fdd',
    500: '#862bcc',
    950: '#000000',
  },
}
SCSS
$custom: #862bcc;
$custom-light: #b06fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#862bcc",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 273.913,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.22913,
    "h": 304.9
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#862BCC
secondary
#A4D082
accent
#E84089
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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