#862D85#862D85

#862D85 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.162 H 328.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#862D85
RGBrgb(134, 45, 133)
HSLhsl(301, 50%, 35%)
HSVhsv(301, 66%, 53%)
CMYKcmyk(0%, 66.4%, 0.7%, 47.5%)
CIE-LABlab(35.28, 49.18, -30.80)
CIE-LCHlch(35.28, 58.03, 327.94°)
OKLaboklab(46.31% 0.1375 -0.0851)
OKLCHoklch(46.31% 0.162 328.3)
XYZxyz(15.0034, 8.6396, 23.0631)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D85 #2D862E
analogous
#5A2D86 #862D85 #862D59
triadic
#862D85 #85862D #2D8586
tetradic
#862D85 #865A2D #2D862E #2D5986
square
#862D85 #865A2D #2D862E #2D5986
split-complementary
#862D85 #59862D #2D865A
monochromatic
#2A0E2A #581E58 #862D85 #B43CB2 #CB63C9

Accessibility & contrast

On white

7.70
#862D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#862D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D85
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D85#FFFFFF#000000##FFFFFF
##862D851.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#8A3955
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862d85;
/* rgb */ color: rgb(134, 45, 133);
/* oklch */ color: oklch(46.3% 0.162 328.3);
Tailwind
colors: {
  custom: {
    50: '#ac6da9',
    500: '#862d85',
    950: '#000000',
  },
}
SCSS
$custom: #862d85;
$custom-light: #ac6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#862d85",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 300.674,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.16169,
    "h": 328.3
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#862D85
secondary
#5EB15F
accent
#D9504F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #862D85

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

Preview Lab → · Contrast checker → · Palette generator →

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