#862BBC#862BBC

#862BBC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.214 H 309.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#862BBC
RGBrgb(134, 43, 188)
HSLhsl(278, 63%, 45%)
HSVhsv(278, 77%, 74%)
CMYKcmyk(28.7%, 77.1%, 0%, 26.3%)
CIE-LABlab(38.60, 60.91, -58.65)
CIE-LCHlch(38.60, 84.56, 316.09°)
OKLaboklab(49.82% 0.1348 -0.1665)
OKLCHoklch(49.82% 0.214 309)
XYZxyz(19.7706, 10.4273, 48.5384)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BBC #61BC2B
analogous
#3D2BBC #862BBC #BC2BAA
triadic
#862BBC #BC862B #2BBC86
tetradic
#862BBC #BC3D2B #61BC2B #2BAABC
square
#862BBC #BC3D2B #61BC2B #2BAABC
split-complementary
#862BBC #AABC2B #2BBC3D
monochromatic
#3F1458 #62208A #862BBC #A44ED6 #BD80E2

Accessibility & contrast

On white

6.81
#862BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#862BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BBC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BBC#FFFFFF#000000##FFFFFF
##862BBC1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#7E4F73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #862bbc;
/* rgb */ color: rgb(134, 43, 188);
/* oklch */ color: oklch(49.8% 0.214 309.0);
Tailwind
colors: {
  custom: {
    50: '#ae6fd1',
    500: '#862bbc',
    950: '#000000',
  },
}
SCSS
$custom: #862bbc;
$custom-light: #ae6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#862bbc",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 277.655,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.2142,
    "h": 309
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#862BBC
secondary
#97CB78
accent
#E6427F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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