#862CE3#862CE3

#862CE3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 53.1% C 0.250 H 299.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#862CE3
RGBrgb(134, 44, 227)
HSLhsl(270, 77%, 53%)
HSVhsv(270, 81%, 89%)
CMYKcmyk(41%, 80.6%, 0%, 11%)
CIE-LABlab(41.87, 69.18, -75.88)
CIE-LCHlch(41.87, 102.68, 312.36°)
OKLaboklab(53.07% 0.1237 -0.2171)
OKLCHoklch(53.07% 0.25 299.7)
XYZxyz(24.5938, 12.4154, 73.7588)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CE3 #89E32C
analogous
#2C2DE3 #862CE3 #E12CE3
triadic
#862CE3 #E3862C #2CE386
tetradic
#862CE3 #E32C2D #89E32C #2CE3E1
square
#862CE3 #E32C2D #89E32C #2CE3E1
split-complementary
#862CE3 #E3E12C #2DE32C
monochromatic
#491183 #6819B9 #862CE3 #A562EA #C498F1

Accessibility & contrast

On white

6.03
#862CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#862CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CE3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CE3#FFFFFF#000000##FFFFFF
##862CE31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#6F6089
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #862ce3;
/* rgb */ color: rgb(134, 44, 227);
/* oklch */ color: oklch(53.1% 0.250 299.7);
Tailwind
colors: {
  custom: {
    50: '#b271ed',
    500: '#862ce3',
    950: '#000000',
  },
}
SCSS
$custom: #862ce3;
$custom-light: #b271ed;
$custom-dark: #000000;
JSON
{
  "hex": "#862ce3",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 227
  },
  "hsl": {
    "h": 269.508,
    "s": 76.569,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.24985,
    "h": 299.7
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#862CE3
secondary
#B6DD8E
accent
#F33595
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #862CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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