#862FCE#862FCE

#862FCE is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.227 H 304.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#862FCE
RGBrgb(134, 47, 206)
HSLhsl(273, 63%, 50%)
HSVhsv(273, 77%, 81%)
CMYKcmyk(35%, 77.2%, 0%, 19.2%)
CIE-LABlab(40.50, 63.38, -66.05)
CIE-LCHlch(40.50, 91.54, 313.82°)
OKLaboklab(51.59% 0.1273 -0.1883)
OKLCHoklch(51.59% 0.227 304.1)
XYZxyz(21.9860, 11.5577, 59.4531)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FCE #77CE2F
analogous
#362FCE #862FCE #CE2FC7
triadic
#862FCE #CE862F #2FCE86
tetradic
#862FCE #CE362F #77CE2F #2FC7CE
square
#862FCE #CE362F #77CE2F #2FC7CE
split-complementary
#862FCE #C7CE2F #2FCE36
monochromatic
#45186A #66249C #862FCE #A360DB #C091E6

Accessibility & contrast

On white

6.34
#862FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862FCE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FCE#FFFFFF#000000##FFFFFF
##862FCE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#78597E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #862fce;
/* rgb */ color: rgb(134, 47, 206);
/* oklch */ color: oklch(51.6% 0.227 304.1);
Tailwind
colors: {
  custom: {
    50: '#b071de',
    500: '#862fce',
    950: '#000000',
  },
}
SCSS
$custom: #862fce;
$custom-light: #b071de;
$custom-dark: #000000;
JSON
{
  "hex": "#862fce",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 206
  },
  "hsl": {
    "h": 272.83,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.22728,
    "h": 304.1
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #862FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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