#862D80#862D80

#862D80 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.157 H 330.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#862D80
RGBrgb(134, 45, 128)
HSLhsl(304, 50%, 35%)
HSVhsv(304, 66%, 53%)
CMYKcmyk(0%, 66.4%, 4.5%, 47.5%)
CIE-LABlab(35.01, 48.30, -28.12)
CIE-LCHlch(35.01, 55.89, 329.79°)
OKLaboklab(46.03% 0.1371 -0.0773)
OKLCHoklch(46.03% 0.157 330.6)
XYZxyz(14.6661, 8.5047, 21.2870)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D80 #2D8633
analogous
#602D86 #862D80 #862D53
triadic
#862D80 #80862D #2D8086
tetradic
#862D80 #86602D #2D8633 #2D5386
square
#862D80 #86602D #2D8633 #2D5386
split-complementary
#862D80 #53862D #2D8660
monochromatic
#2A0E28 #581E54 #862D80 #B43CAC #CB63C4

Accessibility & contrast

On white

7.78
#862D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D80
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D80#FFFFFF#000000##FFFFFF
##862D801.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#8B3752
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862d80;
/* rgb */ color: rgb(134, 45, 128);
/* oklch */ color: oklch(46.0% 0.157 330.6);
Tailwind
colors: {
  custom: {
    50: '#ac6da5',
    500: '#862d80',
    950: '#000000',
  },
}
SCSS
$custom: #862d80;
$custom-light: #ac6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#862d80",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 304.045,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.15743,
    "h": 330.6
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#862D80
secondary
#5EB163
accent
#D9584F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862D80

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

Preview Lab → · Contrast checker → · Palette generator →

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