#862FC1#862FC1

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

Color values

HEX#862FC1
RGBrgb(134, 47, 193)
HSLhsl(276, 61%, 47%)
HSVhsv(276, 76%, 76%)
CMYKcmyk(30.6%, 75.6%, 0%, 24.3%)
CIE-LABlab(39.50, 60.49, -60.12)
CIE-LCHlch(39.50, 85.28, 315.18°)
OKLaboklab(50.57% 0.1302 -0.1708)
OKLCHoklch(50.57% 0.215 307.3)
XYZxyz(20.4716, 10.9519, 51.4772)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC1 #6AC12F
analogous
#3D2FC1 #862FC1 #C12FB3
triadic
#862FC1 #C1862F #2FC186
tetradic
#862FC1 #C13D2F #6AC12F #2FB3C1
square
#862FC1 #C13D2F #6AC12F #2FB3C1
split-complementary
#862FC1 #B3C12F #2FC13D
monochromatic
#42175F #642390 #862FC1 #A357D6 #BE88E2

Accessibility & contrast

On white

6.58
#862FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#862FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC1#FFFFFF#000000##FFFFFF
##862FC11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862fc1;
/* rgb */ color: rgb(134, 47, 193);
/* oklch */ color: oklch(50.6% 0.215 307.3);
Tailwind
colors: {
  custom: {
    50: '#af71d5',
    500: '#862fc1',
    950: '#000000',
  },
}
SCSS
$custom: #862fc1;
$custom-light: #af71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc1",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 275.753,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.21483,
    "h": 307.3
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #862FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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