#862CA9#862CA9

#862CA9 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.195 H 314.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#862CA9
RGBrgb(134, 44, 169)
HSLhsl(283, 59%, 42%)
HSVhsv(283, 74%, 66%)
CMYKcmyk(20.7%, 74%, 0%, 33.7%)
CIE-LABlab(37.36, 56.55, -49.38)
CIE-LCHlch(37.36, 75.07, 318.87°)
OKLaboklab(48.51% 0.1371 -0.1393)
OKLCHoklch(48.51% 0.195 314.6)
XYZxyz(17.8924, 9.7349, 38.4649)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA9 #4FA92C
analogous
#482CA9 #862CA9 #A92C8E
triadic
#862CA9 #A9862C #2CA986
tetradic
#862CA9 #A9482C #4FA92C #2C8EA9
square
#862CA9 #A9482C #4FA92C #2C8EA9
split-complementary
#862CA9 #8EA92C #2CA948
monochromatic
#391348 #5F1F78 #862CA9 #A844CE #BE74DB

Accessibility & contrast

On white

7.13
#862CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#862CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CA9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA9#FFFFFF#000000##FFFFFF
##862CA91.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#255AA6
Tritanopia (blue-blind)
#834768
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862ca9;
/* rgb */ color: rgb(134, 44, 169);
/* oklch */ color: oklch(48.5% 0.195 314.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ec3',
    500: '#862ca9',
    950: '#000000',
  },
}
SCSS
$custom: #862ca9;
$custom-light: #ad6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca9",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 283.2,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.19546,
    "h": 314.6
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#862CA9
secondary
#86C36E
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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