#862FC4#862FC4

#862FC4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.218 H 306.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#862FC4
RGBrgb(134, 47, 196)
HSLhsl(275, 61%, 48%)
HSVhsv(275, 76%, 77%)
CMYKcmyk(31.6%, 76%, 0%, 23.1%)
CIE-LABlab(39.73, 61.15, -61.50)
CIE-LCHlch(39.73, 86.73, 314.84°)
OKLaboklab(50.8% 0.1296 -0.1749)
OKLCHoklch(50.8% 0.218 306.5)
XYZxyz(20.8097, 11.0871, 53.2576)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC4 #6DC42F
analogous
#3C2FC4 #862FC4 #C42FB7
triadic
#862FC4 #C4862F #2FC486
tetradic
#862FC4 #C43C2F #6DC42F #2FB7C4
square
#862FC4 #C43C2F #6DC42F #2FB7C4
split-complementary
#862FC4 #B7C42F #2FC43C
monochromatic
#431761 #642393 #862FC4 #A359D7 #BE8AE3

Accessibility & contrast

On white

6.53
#862FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#862FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC4#FFFFFF#000000##FFFFFF
##862FC41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#7B5478
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862fc4;
/* rgb */ color: rgb(134, 47, 196);
/* oklch */ color: oklch(50.8% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#af71d7',
    500: '#862fc4',
    950: '#000000',
  },
}
SCSS
$custom: #862fc4;
$custom-light: #af71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc4",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 275.034,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.2177,
    "h": 306.5
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#862FC4
secondary
#A1CD82
accent
#E44386
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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