#862ECF#862ECF

#862ECF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.6% C 0.229 H 303.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#862ECF
RGBrgb(134, 46, 207)
HSLhsl(273, 64%, 50%)
HSVhsv(273, 78%, 81%)
CMYKcmyk(35.3%, 77.8%, 0%, 18.8%)
CIE-LABlab(40.45, 63.97, -66.71)
CIE-LCHlch(40.45, 92.42, 313.80°)
OKLaboklab(51.58% 0.1279 -0.1902)
OKLCHoklch(51.58% 0.229 303.9)
XYZxyz(22.0684, 11.5274, 60.0818)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862ECF #77CF2E
analogous
#362ECF #862ECF #CF2EC8
triadic
#862ECF #CF862E #2ECF86
tetradic
#862ECF #CF362E #77CF2E #2EC8CF
square
#862ECF #CF362E #77CF2E #2EC8CF
split-complementary
#862ECF #C8CF2E #2ECF36
monochromatic
#45186B #66239D #862ECF #A35FDB #C091E7

Accessibility & contrast

On white

6.35
#862ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#862ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862ECF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862ECF#FFFFFF#000000##FFFFFF
##862ECF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#77597E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #862ecf;
/* rgb */ color: rgb(134, 46, 207);
/* oklch */ color: oklch(51.6% 0.229 303.9);
Tailwind
colors: {
  custom: {
    50: '#b071df',
    500: '#862ecf',
    950: '#000000',
  },
}
SCSS
$custom: #862ecf;
$custom-light: #b071df;
$custom-dark: #000000;
JSON
{
  "hex": "#862ecf",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 272.795,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.22918,
    "h": 303.9
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#862ECF
secondary
#A9D188
accent
#E7418C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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