#862FA3#862FA3

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

Color values

HEX#862FA3
RGBrgb(134, 47, 163)
HSLhsl(285, 55%, 41%)
HSVhsv(285, 71%, 64%)
CMYKcmyk(17.8%, 71.2%, 0%, 36.1%)
CIE-LABlab(37.38, 54.12, -45.75)
CIE-LCHlch(37.38, 70.86, 319.79°)
OKLaboklab(48.4% 0.1347 -0.1286)
OKLCHoklch(48.4% 0.186 316.3)
XYZxyz(17.4579, 9.7464, 35.6049)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FA3 #4CA32F
analogous
#4C2FA3 #862FA3 #A32F86
triadic
#862FA3 #A3862F #2FA386
tetradic
#862FA3 #A34C2F #4CA32F #2F86A3
square
#862FA3 #A34C2F #4CA32F #2F86A3
split-complementary
#862FA3 #86A32F #2FA34C
monochromatic
#381444 #5F2173 #862FA3 #A946CA #BF75D7

Accessibility & contrast

On white

7.12
#862FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862FA3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FA3#FFFFFF#000000##FFFFFF
##862FA31.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#844666
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862fa3;
/* rgb */ color: rgb(134, 47, 163);
/* oklch */ color: oklch(48.4% 0.186 316.3);
Tailwind
colors: {
  custom: {
    50: '#ad6fbf',
    500: '#862fa3',
    950: '#000000',
  },
}
SCSS
$custom: #862fa3;
$custom-light: #ad6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#862fa3",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 285,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.18629,
    "h": 316.3
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#862FA3
secondary
#83BF6F
accent
#DF496F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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