#862BC0#862BC0

#862BC0 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.218 H 307.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#862BC0
RGBrgb(134, 43, 192)
HSLhsl(277, 63%, 46%)
HSVhsv(277, 78%, 75%)
CMYKcmyk(30.2%, 77.6%, 0%, 24.7%)
CIE-LABlab(38.90, 61.77, -60.50)
CIE-LCHlch(38.90, 86.47, 315.60°)
OKLaboklab(50.12% 0.1339 -0.1719)
OKLCHoklch(50.12% 0.218 307.9)
XYZxyz(20.2078, 10.6022, 50.8408)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BC0 #65C02B
analogous
#3B2BC0 #862BC0 #C02BAF
triadic
#862BC0 #C0862B #2BC086
tetradic
#862BC0 #C03B2B #65C02B #2BAFC0
square
#862BC0 #C03B2B #65C02B #2BAFC0
split-complementary
#862BC0 #AFC02B #2BC03B
monochromatic
#40155C #63208E #862BC0 #A350D8 #BD82E3

Accessibility & contrast

On white

6.73
#862BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#862BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BC0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BC0#FFFFFF#000000##FFFFFF
##862BC01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#7C5175
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862bc0;
/* rgb */ color: rgb(134, 43, 192);
/* oklch */ color: oklch(50.1% 0.218 307.9);
Tailwind
colors: {
  custom: {
    50: '#af6fd4',
    500: '#862bc0',
    950: '#000000',
  },
}
SCSS
$custom: #862bc0;
$custom-light: #af6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#862bc0",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 276.644,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.21792,
    "h": 307.9
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#862BC0
secondary
#9ACC7B
accent
#E64182
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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