#862C90#862C90

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

Color values

HEX#862C90
RGBrgb(134, 44, 144)
HSLhsl(294, 53%, 37%)
HSVhsv(294, 69%, 56%)
CMYKcmyk(6.9%, 69.4%, 0%, 43.5%)
CIE-LABlab(35.76, 51.62, -36.82)
CIE-LCHlch(35.76, 63.40, 324.50°)
OKLaboklab(46.86% 0.1389 -0.1025)
OKLCHoklch(46.86% 0.173 323.6)
XYZxyz(15.7658, 8.8842, 27.2646)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C90 #36902C
analogous
#542C90 #862C90 #902C68
triadic
#862C90 #90862C #2C9086
tetradic
#862C90 #90542C #36902C #2C6890
square
#862C90 #90542C #36902C #2C6890
split-complementary
#862C90 #68902C #2C9054
monochromatic
#2F0F32 #5A1E61 #862C90 #B23ABF #C666D0

Accessibility & contrast

On white

7.56
#862C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862C90
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C90#FFFFFF#000000##FFFFFF
##862C901.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D93
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#883C5A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862c90;
/* rgb */ color: rgb(134, 44, 144);
/* oklch */ color: oklch(46.9% 0.173 323.6);
Tailwind
colors: {
  custom: {
    50: '#ac6db1',
    500: '#862c90',
    950: '#000000',
  },
}
SCSS
$custom: #862c90;
$custom-light: #ac6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#862c90",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 294,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.17267,
    "h": 323.6
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#862C90
secondary
#6AB761
accent
#DD4B5A
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #862C90

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

Preview Lab → · Contrast checker → · Palette generator →

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