#862C91#862C91

#862C91 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.174 H 323.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#862C91
RGBrgb(134, 44, 145)
HSLhsl(293, 53%, 37%)
HSVhsv(293, 70%, 57%)
CMYKcmyk(7.6%, 69.7%, 0%, 43.1%)
CIE-LABlab(35.82, 51.81, -37.34)
CIE-LCHlch(35.82, 63.86, 324.22°)
OKLaboklab(46.92% 0.1389 -0.104)
OKLCHoklch(46.92% 0.174 323.2)
XYZxyz(15.8425, 8.9149, 27.6689)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C91 #37912C
analogous
#532C91 #862C91 #912C6A
triadic
#862C91 #91862C #2C9186
tetradic
#862C91 #91532C #37912C #2C6A91
square
#862C91 #91532C #37912C #2C6A91
split-complementary
#862C91 #6A912C #2C9153
monochromatic
#2F1033 #5B1E62 #862C91 #B13AC0 #C567D1

Accessibility & contrast

On white

7.55
#862C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#862C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C91
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C91#FFFFFF#000000##FFFFFF
##862C911.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D94
Deuteranopia (green-blind)
#3C588F
Tritanopia (blue-blind)
#883D5B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862c91;
/* rgb */ color: rgb(134, 44, 145);
/* oklch */ color: oklch(46.9% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#ac6db2',
    500: '#862c91',
    950: '#000000',
  },
}
SCSS
$custom: #862c91;
$custom-light: #ac6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#862c91",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 293.465,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.17356,
    "h": 323.2
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#862C91
secondary
#6BB762
accent
#DD4B5B
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862C91

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

Preview Lab → · Contrast checker → · Palette generator →

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