#862FC0#862FC0

#862FC0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.214 H 307.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#862FC0
RGBrgb(134, 47, 192)
HSLhsl(276, 61%, 47%)
HSVhsv(276, 76%, 75%)
CMYKcmyk(30.2%, 75.5%, 0%, 24.7%)
CIE-LABlab(39.42, 60.27, -59.65)
CIE-LCHlch(39.42, 84.80, 315.30°)
OKLaboklab(50.49% 0.1304 -0.1695)
OKLCHoklch(50.49% 0.214 307.6)
XYZxyz(20.3604, 10.9074, 50.8917)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FC0 #69C02F
analogous
#3E2FC0 #862FC0 #C02FB2
triadic
#862FC0 #C0862F #2FC086
tetradic
#862FC0 #C03E2F #69C02F #2FB2C0
square
#862FC0 #C03E2F #69C02F #2FB2C0
split-complementary
#862FC0 #B2C02F #2FC03E
monochromatic
#41175E #64238F #862FC0 #A356D6 #BE88E2

Accessibility & contrast

On white

6.60
#862FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#862FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FC0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FC0#FFFFFF#000000##FFFFFF
##862FC01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#7C5376
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862fc0;
/* rgb */ color: rgb(134, 47, 192);
/* oklch */ color: oklch(50.5% 0.214 307.6);
Tailwind
colors: {
  custom: {
    50: '#af71d4',
    500: '#862fc0',
    950: '#000000',
  },
}
SCSS
$custom: #862fc0;
$custom-light: #af71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#862fc0",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 276,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.21386,
    "h": 307.6
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#862FC0
secondary
#9ECB7F
accent
#E44484
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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