#862C8D#862C8D

#862C8D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.170 H 324.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#862C8D
RGBrgb(134, 44, 141)
HSLhsl(296, 52%, 36%)
HSVhsv(296, 69%, 55%)
CMYKcmyk(5%, 68.8%, 0%, 44.7%)
CIE-LABlab(35.58, 51.06, -35.26)
CIE-LCHlch(35.58, 62.05, 325.37°)
OKLaboklab(46.67% 0.1389 -0.098)
OKLCHoklch(46.67% 0.17 324.8)
XYZxyz(15.5395, 8.7937, 26.0730)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C8D #338D2C
analogous
#562C8D #862C8D #8D2C64
triadic
#862C8D #8D862C #2C8D86
tetradic
#862C8D #8D562C #338D2C #2C648D
square
#862C8D #8D562C #338D2C #2C648D
split-complementary
#862C8D #648D2C #2C8D56
monochromatic
#2D0F30 #5A1D5E #862C8D #B23BBC #C765CF

Accessibility & contrast

On white

7.61
#862C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#862C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C8D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C8D#FFFFFF#000000##FFFFFF
##862C8D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D90
Deuteranopia (green-blind)
#3E578B
Tritanopia (blue-blind)
#893B59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862c8d;
/* rgb */ color: rgb(134, 44, 141);
/* oklch */ color: oklch(46.7% 0.170 324.8);
Tailwind
colors: {
  custom: {
    50: '#ac6daf',
    500: '#862c8d',
    950: '#000000',
  },
}
SCSS
$custom: #862c8d;
$custom-light: #ac6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#862c8d",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 295.67,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.17001,
    "h": 324.8
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#862C8D
secondary
#66B560
accent
#DC4C56
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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