#862BCE#862BCE

#862BCE is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.231 H 304.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#862BCE
RGBrgb(134, 43, 206)
HSLhsl(273, 65%, 49%)
HSVhsv(273, 79%, 81%)
CMYKcmyk(35%, 79.1%, 0%, 19.2%)
CIE-LABlab(40.00, 64.83, -66.87)
CIE-LCHlch(40.00, 93.13, 314.11°)
OKLaboklab(51.24% 0.1304 -0.1906)
OKLCHoklch(51.24% 0.231 304.4)
XYZxyz(21.8334, 11.2524, 59.4022)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BCE #73CE2B
analogous
#352BCE #862BCE #CE2BC5
triadic
#862BCE #CE862B #2BCE86
tetradic
#862BCE #CE352B #73CE2B #2BC5CE
square
#862BCE #CE352B #73CE2B #2BC5CE
split-complementary
#862BCE #C5CE2B #2BCE35
monochromatic
#441669 #65209B #862BCE #A35ADC #BF8CE7

Accessibility & contrast

On white

6.46
#862BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#862BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BCE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BCE#FFFFFF#000000##FFFFFF
##862BCE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#78577D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862bce;
/* rgb */ color: rgb(134, 43, 206);
/* oklch */ color: oklch(51.2% 0.231 304.4);
Tailwind
colors: {
  custom: {
    50: '#b070de',
    500: '#862bce',
    950: '#000000',
  },
}
SCSS
$custom: #862bce;
$custom-light: #b070de;
$custom-dark: #000000;
JSON
{
  "hex": "#862bce",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 273.497,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.231,
    "h": 304.4
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#862BCE
secondary
#A6D184
accent
#E83F8A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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