#862CA7#862CA7

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

Color values

HEX#862CA7
RGBrgb(134, 44, 167)
HSLhsl(284, 58%, 41%)
HSVhsv(284, 74%, 65%)
CMYKcmyk(19.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(37.23, 56.14, -48.40)
CIE-LCHlch(37.23, 74.12, 319.23°)
OKLaboklab(48.37% 0.1374 -0.1364)
OKLCHoklch(48.37% 0.194 315.2)
XYZxyz(17.7061, 9.6604, 37.4837)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA7 #4DA72C
analogous
#482CA7 #862CA7 #A72C8B
triadic
#862CA7 #A7862C #2CA786
tetradic
#862CA7 #A7482C #4DA72C #2C8BA7
square
#862CA7 #A7482C #4DA72C #2C8BA7
split-complementary
#862CA7 #8BA72C #2CA748
monochromatic
#381246 #5F1F77 #862CA7 #A843CD #BF73DA

Accessibility & contrast

On white

7.16
#862CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#862CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CA7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA7#FFFFFF#000000##FFFFFF
##862CA71.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#834667
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862ca7;
/* rgb */ color: rgb(134, 44, 167);
/* oklch */ color: oklch(48.4% 0.194 315.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ec2',
    500: '#862ca7',
    950: '#000000',
  },
}
SCSS
$custom: #862ca7;
$custom-light: #ad6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca7",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 283.902,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.1936,
    "h": 315.2
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#862CA7
secondary
#84C26D
accent
#E24670
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #862CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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