#862EBC#862EBC

#862EBC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.211 H 308.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#862EBC
RGBrgb(134, 46, 188)
HSLhsl(277, 61%, 46%)
HSVhsv(277, 76%, 74%)
CMYKcmyk(28.7%, 75.5%, 0%, 26.3%)
CIE-LABlab(38.99, 59.79, -58.01)
CIE-LCHlch(38.99, 83.31, 315.87°)
OKLaboklab(50.09% 0.1321 -0.1646)
OKLCHoklch(50.09% 0.211 308.7)
XYZxyz(19.8837, 10.6535, 48.5761)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EBC #64BC2E
analogous
#3F2EBC #862EBC #BC2EAB
triadic
#862EBC #BC862E #2EBC86
tetradic
#862EBC #BC3F2E #64BC2E #2EABBC
square
#862EBC #BC3F2E #64BC2E #2EABBC
split-complementary
#862EBC #ABBC2E #2EBC3F
monochromatic
#40165A #63228B #862EBC #A352D5 #BD84E1

Accessibility & contrast

On white

6.71
#862EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#862EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EBC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EBC#FFFFFF#000000##FFFFFF
##862EBC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#7E5073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862ebc;
/* rgb */ color: rgb(134, 46, 188);
/* oklch */ color: oklch(50.1% 0.211 308.7);
Tailwind
colors: {
  custom: {
    50: '#ae70d1',
    500: '#862ebc',
    950: '#000000',
  },
}
SCSS
$custom: #862ebc;
$custom-light: #ae70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#862ebc",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 277.183,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.21111,
    "h": 308.7
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#862EBC
secondary
#9ACA7C
accent
#E44481
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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