#862C85#862C85

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

Color values

HEX#862C85
RGBrgb(134, 44, 133)
HSLhsl(301, 51%, 35%)
HSVhsv(301, 67%, 53%)
CMYKcmyk(0%, 67.2%, 0.7%, 47.5%)
CIE-LABlab(35.13, 49.60, -31.04)
CIE-LCHlch(35.13, 58.51, 327.96°)
OKLaboklab(46.2% 0.1387 -0.0857)
OKLCHoklch(46.2% 0.163 328.3)
XYZxyz(14.9657, 8.5642, 23.0506)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C85 #2C862D
analogous
#5A2C86 #862C85 #862C58
triadic
#862C85 #85862C #2C8586
tetradic
#862C85 #865A2C #2C862D #2C5886
square
#862C85 #865A2C #2C862D #2C5886
split-complementary
#862C85 #58862C #2C865A
monochromatic
#2A0E2A #581D57 #862C85 #B43BB3 #CB61CA

Accessibility & contrast

On white

7.74
#862C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#862C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C85
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C85#FFFFFF#000000##FFFFFF
##862C851.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862c85;
/* rgb */ color: rgb(134, 44, 133);
/* oklch */ color: oklch(46.2% 0.163 328.3);
Tailwind
colors: {
  custom: {
    50: '#ac6da9',
    500: '#862c85',
    950: '#000000',
  },
}
SCSS
$custom: #862c85;
$custom-light: #ac6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#862c85",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 300.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.16306,
    "h": 328.3
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#862C85
secondary
#5CB15D
accent
#DA4F4E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #862C85

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

Preview Lab → · Contrast checker → · Palette generator →

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