#862EE3#862EE3

#862EE3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.2% C 0.248 H 299.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#862EE3
RGBrgb(134, 46, 227)
HSLhsl(269, 76%, 54%)
HSVhsv(269, 80%, 89%)
CMYKcmyk(41%, 79.7%, 0%, 11%)
CIE-LABlab(42.11, 68.49, -75.49)
CIE-LCHlch(42.11, 101.93, 312.22°)
OKLaboklab(53.23% 0.1223 -0.216)
OKLCHoklch(53.23% 0.248 299.5)
XYZxyz(24.6701, 12.5681, 73.7843)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EE3 #8BE32E
analogous
#2E30E3 #862EE3 #E02EE3
triadic
#862EE3 #E3862E #2EE386
tetradic
#862EE3 #E32E30 #8BE32E #2EE3E0
square
#862EE3 #E32E30 #8BE32E #2EE3E0
split-complementary
#862EE3 #E3E02E #30E32E
monochromatic
#4A1285 #6819BB #862EE3 #A564EA #C49AF1

Accessibility & contrast

On white

5.98
#862EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#862EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EE3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EE3#FFFFFF#000000##FFFFFF
##862EE31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862ee3;
/* rgb */ color: rgb(134, 46, 227);
/* oklch */ color: oklch(53.2% 0.248 299.5);
Tailwind
colors: {
  custom: {
    50: '#b172ed',
    500: '#862ee3',
    950: '#000000',
  },
}
SCSS
$custom: #862ee3;
$custom-light: #b172ed;
$custom-dark: #000000;
JSON
{
  "hex": "#862ee3",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 269.171,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.24821,
    "h": 299.5
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#862EE3
secondary
#B7DD90
accent
#F33597
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #862EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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