#862FC6#862FC6

#862FC6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.220 H 306.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#862FC6
RGBrgb(134, 47, 198)
HSLhsl(275, 62%, 48%)
HSVhsv(275, 76%, 78%)
CMYKcmyk(32.3%, 76.3%, 0%, 22.4%)
CIE-LABlab(39.88, 61.60, -62.42)
CIE-LCHlch(39.88, 87.69, 314.62°)
OKLaboklab(50.95% 0.1292 -0.1776)
OKLCHoklch(50.95% 0.22 306)
XYZxyz(21.0388, 11.1788, 54.4645)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC6 #6FC62F
analogous
#3B2FC6 #862FC6 #C62FBA
triadic
#862FC6 #C6862F #2FC686
tetradic
#862FC6 #C63B2F #6FC62F #2FBAC6
square
#862FC6 #C63B2F #6FC62F #2FBAC6
split-complementary
#862FC6 #BAC62F #2FC63B
monochromatic
#431863 #652395 #862FC6 #A35AD8 #BE8CE4

Accessibility & contrast

On white

6.49
#862FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#862FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC6#FFFFFF#000000##FFFFFF
##862FC61.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#7A5579
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862fc6;
/* rgb */ color: rgb(134, 47, 198);
/* oklch */ color: oklch(51.0% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#af71d8',
    500: '#862fc6',
    950: '#000000',
  },
}
SCSS
$custom: #862fc6;
$custom-light: #af71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc6",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 274.57,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50954,
    "c": 0.21961,
    "h": 306
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#862FC6
secondary
#A3CE83
accent
#E54388
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #862FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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