#862DA3#862DA3

#862DA3 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.189 H 316.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#862DA3
RGBrgb(134, 45, 163)
HSLhsl(285, 57%, 41%)
HSVhsv(285, 72%, 64%)
CMYKcmyk(17.8%, 72.4%, 0%, 36.1%)
CIE-LABlab(37.10, 54.93, -46.21)
CIE-LCHlch(37.10, 71.78, 319.93°)
OKLaboklab(48.19% 0.1368 -0.13)
OKLCHoklch(48.19% 0.189 316.5)
XYZxyz(17.3798, 9.5901, 35.5788)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DA3 #4AA32D
analogous
#4B2DA3 #862DA3 #A32D85
triadic
#862DA3 #A3862D #2DA386
tetradic
#862DA3 #A34B2D #4AA32D #2D85A3
square
#862DA3 #A34B2D #4AA32D #2D85A3
split-complementary
#862DA3 #85A32D #2DA34B
monochromatic
#371343 #5F2073 #862DA3 #A942CB #BF72D8

Accessibility & contrast

On white

7.20
#862DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#862DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862DA3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DA3#FFFFFF#000000##FFFFFF
##862DA31.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#844565
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862da3;
/* rgb */ color: rgb(134, 45, 163);
/* oklch */ color: oklch(48.2% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ebf',
    500: '#862da3',
    950: '#000000',
  },
}
SCSS
$custom: #862da3;
$custom-light: #ad6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#862da3",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 285.254,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48194,
    "c": 0.18872,
    "h": 316.5
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#862DA3
secondary
#81C06C
accent
#E0486D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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