#862CBE#862CBE

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

Color values

HEX#862CBE
RGBrgb(134, 44, 190)
HSLhsl(277, 62%, 46%)
HSVhsv(277, 77%, 75%)
CMYKcmyk(29.5%, 76.8%, 0%, 25.5%)
CIE-LABlab(38.88, 60.98, -59.37)
CIE-LCHlch(38.88, 85.11, 315.77°)
OKLaboklab(50.06% 0.1335 -0.1686)
OKLCHoklch(50.06% 0.215 308.4)
XYZxyz(20.0245, 10.5877, 49.6940)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CBE #64BE2C
analogous
#3D2CBE #862CBE #BE2CAD
triadic
#862CBE #BE862C #2CBE86
tetradic
#862CBE #BE3D2C #64BE2C #2CADBE
square
#862CBE #BE3D2C #64BE2C #2CADBE
split-complementary
#862CBE #ADBE2C #2CBE3D
monochromatic
#40155B #63208C #862CBE #A351D7 #BD82E2

Accessibility & contrast

On white

6.74
#862CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862CBE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CBE#FFFFFF#000000##FFFFFF
##862CBE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#7D5074
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862cbe;
/* rgb */ color: rgb(134, 44, 190);
/* oklch */ color: oklch(50.1% 0.215 308.4);
Tailwind
colors: {
  custom: {
    50: '#af6fd2',
    500: '#862cbe',
    950: '#000000',
  },
}
SCSS
$custom: #862cbe;
$custom-light: #af6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#862cbe",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 190
  },
  "hsl": {
    "h": 276.986,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.21507,
    "h": 308.4
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#862CBE
secondary
#9ACB7B
accent
#E54281
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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