#862FC3#862FC3

#862FC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.217 H 306.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#862FC3
RGBrgb(134, 47, 195)
HSLhsl(275, 61%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.3%, 75.9%, 0%, 23.5%)
CIE-LABlab(39.65, 60.93, -61.04)
CIE-LCHlch(39.65, 86.25, 314.95°)
OKLaboklab(50.72% 0.1298 -0.1736)
OKLCHoklch(50.72% 0.217 306.8)
XYZxyz(20.6962, 11.0417, 52.6602)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC3 #6CC32F
analogous
#3C2FC3 #862FC3 #C32FB6
triadic
#862FC3 #C3862F #2FC386
tetradic
#862FC3 #C33C2F #6CC32F #2FB6C3
square
#862FC3 #C33C2F #6CC32F #2FB6C3
split-complementary
#862FC3 #B6C32F #2FC33C
monochromatic
#421760 #642392 #862FC3 #A358D7 #BE8AE3

Accessibility & contrast

On white

6.55
#862FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#862FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC3#FFFFFF#000000##FFFFFF
##862FC31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#7B5478
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862fc3;
/* rgb */ color: rgb(134, 47, 195);
/* oklch */ color: oklch(50.7% 0.217 306.8);
Tailwind
colors: {
  custom: {
    50: '#af71d6',
    500: '#862fc3',
    950: '#000000',
  },
}
SCSS
$custom: #862fc3;
$custom-light: #af71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc3",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 275.27,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.21674,
    "h": 306.8
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#862FC3
secondary
#A0CD81
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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