#862C8C#862C8C

#862C8C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.169 H 325.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#862C8C
RGBrgb(134, 44, 140)
HSLhsl(296, 52%, 36%)
HSVhsv(296, 69%, 55%)
CMYKcmyk(4.3%, 68.6%, 0%, 45.1%)
CIE-LABlab(35.53, 50.87, -34.74)
CIE-LCHlch(35.53, 61.60, 325.68°)
OKLaboklab(46.61% 0.1389 -0.0965)
OKLCHoklch(46.61% 0.169 325.2)
XYZxyz(15.4655, 8.7641, 25.6829)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C8C #328C2C
analogous
#562C8C #862C8C #8C2C62
triadic
#862C8C #8C862C #2C8C86
tetradic
#862C8C #8C562C #328C2C #2C628C
square
#862C8C #8C562C #328C2C #2C628C
split-complementary
#862C8C #628C2C #2C8C56
monochromatic
#2D0F2F #591D5D #862C8C #B33BBB #C864CE

Accessibility & contrast

On white

7.63
#862C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#862C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C8C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C8C#FFFFFF#000000##FFFFFF
##862C8C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#3F578A
Tritanopia (blue-blind)
#893B58
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862c8c;
/* rgb */ color: rgb(134, 44, 140);
/* oklch */ color: oklch(46.6% 0.169 325.2);
Tailwind
colors: {
  custom: {
    50: '#ac6dae',
    500: '#862c8c',
    950: '#000000',
  },
}
SCSS
$custom: #862c8c;
$custom-light: #ac6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#862c8c",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 296.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.16913,
    "h": 325.2
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#862C8C
secondary
#64B55F
accent
#DC4C55
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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