#862DC0#862DC0

#862DC0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.216 H 307.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#862DC0
RGBrgb(134, 45, 192)
HSLhsl(276, 62%, 46%)
HSVhsv(276, 77%, 75%)
CMYKcmyk(30.2%, 76.6%, 0%, 24.7%)
CIE-LABlab(39.16, 61.04, -60.09)
CIE-LCHlch(39.16, 85.65, 315.45°)
OKLaboklab(50.3% 0.1322 -0.1707)
OKLCHoklch(50.3% 0.216 307.7)
XYZxyz(20.2823, 10.7512, 50.8657)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DC0 #67C02D
analogous
#3D2DC0 #862DC0 #C02DB1
triadic
#862DC0 #C0862D #2DC086
tetradic
#862DC0 #C03D2D #67C02D #2DB1C0
square
#862DC0 #C03D2D #67C02D #2DB1C0
split-complementary
#862DC0 #B1C02D #2DC03D
monochromatic
#41165D #63218E #862DC0 #A353D7 #BE85E2

Accessibility & contrast

On white

6.67
#862DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#862DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DC0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DC0#FFFFFF#000000##FFFFFF
##862DC01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#7C5275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862dc0;
/* rgb */ color: rgb(134, 45, 192);
/* oklch */ color: oklch(50.3% 0.216 307.7);
Tailwind
colors: {
  custom: {
    50: '#af70d4',
    500: '#862dc0',
    950: '#000000',
  },
}
SCSS
$custom: #862dc0;
$custom-light: #af70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#862dc0",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 276.327,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.21593,
    "h": 307.7
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#862DC0
secondary
#9CCC7D
accent
#E54383
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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