#862FC2#862FC2

#862FC2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 307.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#862FC2
RGBrgb(134, 47, 194)
HSLhsl(276, 61%, 47%)
HSVhsv(276, 76%, 76%)
CMYKcmyk(30.9%, 75.8%, 0%, 23.9%)
CIE-LABlab(39.57, 60.71, -60.58)
CIE-LCHlch(39.57, 85.77, 315.06°)
OKLaboklab(50.64% 0.13 -0.1722)
OKLCHoklch(50.64% 0.216 307.1)
XYZxyz(20.5835, 10.9967, 52.0667)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC2 #6BC22F
analogous
#3C2FC2 #862FC2 #C22FB5
triadic
#862FC2 #C2862F #2FC286
tetradic
#862FC2 #C23C2F #6BC22F #2FB5C2
square
#862FC2 #C23C2F #6BC22F #2FB5C2
split-complementary
#862FC2 #B5C22F #2FC23C
monochromatic
#42175F #642391 #862FC2 #A358D6 #BE89E2

Accessibility & contrast

On white

6.56
#862FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#862FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC2#FFFFFF#000000##FFFFFF
##862FC21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#7C5377
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862fc2;
/* rgb */ color: rgb(134, 47, 194);
/* oklch */ color: oklch(50.6% 0.216 307.1);
Tailwind
colors: {
  custom: {
    50: '#af71d5',
    500: '#862fc2',
    950: '#000000',
  },
}
SCSS
$custom: #862fc2;
$custom-light: #af71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc2",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 275.51,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.21578,
    "h": 307.1
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#862FC2
secondary
#9FCC81
accent
#E44485
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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