#862CA8#862CA8

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

Color values

HEX#862CA8
RGBrgb(134, 44, 168)
HSLhsl(284, 58%, 42%)
HSVhsv(284, 74%, 66%)
CMYKcmyk(20.2%, 73.8%, 0%, 34.1%)
CIE-LABlab(37.29, 56.34, -48.89)
CIE-LCHlch(37.29, 74.60, 319.05°)
OKLaboklab(48.44% 0.1373 -0.1378)
OKLCHoklch(48.44% 0.195 314.9)
XYZxyz(17.7989, 9.6975, 37.9724)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA8 #4EA82C
analogous
#482CA8 #862CA8 #A82C8C
triadic
#862CA8 #A8862C #2CA886
tetradic
#862CA8 #A8482C #4EA82C #2C8CA8
square
#862CA8 #A8482C #4EA82C #2C8CA8
split-complementary
#862CA8 #8CA82C #2CA848
monochromatic
#391347 #5F1F78 #862CA8 #A843CE #BE74DB

Accessibility & contrast

On white

7.14
#862CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#862CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CA8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA8#FFFFFF#000000##FFFFFF
##862CA81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#275AA5
Tritanopia (blue-blind)
#834768
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862ca8;
/* rgb */ color: rgb(134, 44, 168);
/* oklch */ color: oklch(48.4% 0.195 314.9);
Tailwind
colors: {
  custom: {
    50: '#ad6ec3',
    500: '#862ca8',
    950: '#000000',
  },
}
SCSS
$custom: #862ca8;
$custom-light: #ad6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca8",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 283.548,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.19453,
    "h": 314.9
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#862CA8
secondary
#85C26E
accent
#E24671
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #862CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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