#862DA7#862DA7

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

Color values

HEX#862DA7
RGBrgb(134, 45, 167)
HSLhsl(284, 58%, 42%)
HSVhsv(284, 73%, 65%)
CMYKcmyk(19.8%, 73.1%, 0%, 34.5%)
CIE-LABlab(37.36, 55.75, -48.18)
CIE-LCHlch(37.36, 73.68, 319.16°)
OKLaboklab(48.47% 0.1364 -0.1358)
OKLCHoklch(48.47% 0.192 315.1)
XYZxyz(17.7438, 9.7358, 37.4962)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DA7 #4EA72D
analogous
#492DA7 #862DA7 #A72D8B
triadic
#862DA7 #A7862D #2DA786
tetradic
#862DA7 #A7492D #4EA72D #2D8BA7
square
#862DA7 #A7492D #4EA72D #2D8BA7
split-complementary
#862DA7 #8BA72D #2DA749
monochromatic
#391347 #5F2077 #862DA7 #A844CD #BE75DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862DA7#FFFFFF#000000##FFFFFF
##862DA71.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)
#0053AA
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#834767
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862da7;
/* rgb */ color: rgb(134, 45, 167);
/* oklch */ color: oklch(48.5% 0.192 315.1);
Tailwind
colors: {
  custom: {
    50: '#ad6fc2',
    500: '#862da7',
    950: '#000000',
  },
}
SCSS
$custom: #862da7;
$custom-light: #ad6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#862da7",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 283.77,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.19245,
    "h": 315.1
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#862DA7
secondary
#85C16E
accent
#E14771
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #862DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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