#862EFF#862EFF

#862EFF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.7% C 0.275 H 294.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#862EFF
RGBrgb(134, 46, 255)
HSLhsl(265, 100%, 59%)
HSVhsv(265, 82%, 100%)
CMYKcmyk(47.5%, 82%, 0%, 0%)
CIE-LABlab(44.58, 74.93, -87.21)
CIE-LCHlch(44.58, 114.98, 310.67°)
OKLaboklab(55.69% 0.1133 -0.2503)
OKLCHoklch(55.69% 0.275 294.3)
XYZxyz(28.8535, 14.2414, 95.8170)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EFF #A7FF2E
analogous
#2E3FFF #862EFF #EE2EFF
triadic
#862EFF #FF862E #2EFF86
tetradic
#862EFF #FF2E3F #A7FF2E #2EFFEE
square
#862EFF #FF2E3F #A7FF2E #2EFFEE
split-complementary
#862EFF #FFEE2E #3FFF2E
monochromatic
#4B00B3 #6500F0 #862EFF #A96BFF #CDA8FF

Accessibility & contrast

On white

5.46
#862EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#862EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EFF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EFF#FFFFFF#000000##FFFFFF
##862EFF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BFF
Deuteranopia (green-blind)
#0066FB
Tritanopia (blue-blind)
#616D9A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #862eff;
/* rgb */ color: rgb(134, 46, 255);
/* oklch */ color: oklch(55.7% 0.275 294.3);
Tailwind
colors: {
  custom: {
    50: '#b474ff',
    500: '#862eff',
    950: '#000000',
  },
}
SCSS
$custom: #862eff;
$custom-light: #b474ff;
$custom-dark: #000000;
JSON
{
  "hex": "#862eff",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 265.263,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.27477,
    "h": 294.3
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#862EFF
secondary
#CBED9B
accent
#FF29A5
background
#FCF7FF
surface
#F8EDFF
border
#D1C8D7
text
#120918
muted
#817B86

Preview Lab

Preview with #862EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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