#862EE0#862EE0

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

Color values

HEX#862EE0
RGBrgb(134, 46, 224)
HSLhsl(270, 74%, 53%)
HSVhsv(270, 79%, 88%)
CMYKcmyk(40.2%, 79.5%, 0%, 12.2%)
CIE-LABlab(41.85, 67.81, -74.19)
CIE-LCHlch(41.85, 100.51, 312.42°)
OKLaboklab(52.98% 0.1232 -0.2122)
OKLCHoklch(52.98% 0.245 300.1)
XYZxyz(24.2597, 12.4039, 71.6226)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EE0 #88E02E
analogous
#2E2FE0 #862EE0 #DF2EE0
triadic
#862EE0 #E0862E #2EE086
tetradic
#862EE0 #E02E2F #88E02E #2EE0DF
square
#862EE0 #E02E2F #88E02E #2EE0DF
split-complementary
#862EE0 #E0DF2E #2FE02E
monochromatic
#491381 #681BB6 #862EE0 #A563E8 #C499F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862EE0#FFFFFF#000000##FFFFFF
##862EE01.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)
#0062E5
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#716088
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #862ee0;
/* rgb */ color: rgb(134, 46, 224);
/* oklch */ color: oklch(53.0% 0.245 300.1);
Tailwind
colors: {
  custom: {
    50: '#b172eb',
    500: '#862ee0',
    950: '#000000',
  },
}
SCSS
$custom: #862ee0;
$custom-light: #b172eb;
$custom-dark: #000000;
JSON
{
  "hex": "#862ee0",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 224
  },
  "hsl": {
    "h": 269.663,
    "s": 74.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.24535,
    "h": 300.1
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#862EE0
secondary
#B5DB8E
accent
#F13795
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #862EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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