#862C8F#862C8F

#862C8F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.172 H 324.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#862C8F
RGBrgb(134, 44, 143)
HSLhsl(295, 53%, 37%)
HSVhsv(295, 69%, 56%)
CMYKcmyk(6.3%, 69.2%, 0%, 43.9%)
CIE-LABlab(35.70, 51.43, -36.30)
CIE-LCHlch(35.70, 62.95, 324.79°)
OKLaboklab(46.79% 0.1389 -0.101)
OKLCHoklch(46.79% 0.172 324)
XYZxyz(15.6897, 8.8538, 26.8638)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C8F #358F2C
analogous
#552C8F #862C8F #8F2C67
triadic
#862C8F #8F862C #2C8F86
tetradic
#862C8F #8F552C #358F2C #2C678F
square
#862C8F #8F552C #358F2C #2C678F
split-complementary
#862C8F #678F2C #2C8F55
monochromatic
#2E0F31 #5A1E60 #862C8F #B23ABE #C666D0

Accessibility & contrast

On white

7.58
#862C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#862C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C8F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C8F#FFFFFF#000000##FFFFFF
##862C8F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#893C5A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862c8f;
/* rgb */ color: rgb(134, 44, 143);
/* oklch */ color: oklch(46.8% 0.172 324.0);
Tailwind
colors: {
  custom: {
    50: '#ac6db0',
    500: '#862c8f',
    950: '#000000',
  },
}
SCSS
$custom: #862c8f;
$custom-light: #ac6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#862c8f",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 294.545,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.17178,
    "h": 324
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#862C8F
secondary
#68B661
accent
#DC4B59
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #862C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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