#862FC5#862FC5

#862FC5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.219 H 306.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#862FC5
RGBrgb(134, 47, 197)
HSLhsl(275, 61%, 48%)
HSVhsv(275, 76%, 77%)
CMYKcmyk(32%, 76.1%, 0%, 22.7%)
CIE-LABlab(39.80, 61.37, -61.96)
CIE-LCHlch(39.80, 87.21, 314.73°)
OKLaboklab(50.88% 0.1294 -0.1763)
OKLCHoklch(50.88% 0.219 306.3)
XYZxyz(20.9239, 11.1328, 53.8590)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC5 #6EC52F
analogous
#3B2FC5 #862FC5 #C52FB9
triadic
#862FC5 #C5862F #2FC586
tetradic
#862FC5 #C53B2F #6EC52F #2FB9C5
square
#862FC5 #C53B2F #6EC52F #2FB9C5
split-complementary
#862FC5 #B9C52F #2FC53B
monochromatic
#431762 #642394 #862FC5 #A35AD8 #BE8BE3

Accessibility & contrast

On white

6.51
#862FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#862FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC5#FFFFFF#000000##FFFFFF
##862FC51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#7B5579
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862fc5;
/* rgb */ color: rgb(134, 47, 197);
/* oklch */ color: oklch(50.9% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#af71d8',
    500: '#862fc5',
    950: '#000000',
  },
}
SCSS
$custom: #862fc5;
$custom-light: #af71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc5",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 274.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.21865,
    "h": 306.3
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#862FC5
secondary
#A2CD82
accent
#E54387
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #862FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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