#862C97#862C97

#862C97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.179 H 320.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#862C97
RGBrgb(134, 44, 151)
HSLhsl(290, 55%, 38%)
HSVhsv(290, 71%, 59%)
CMYKcmyk(11.3%, 70.9%, 0%, 40.8%)
CIE-LABlab(36.19, 52.95, -40.41)
CIE-LCHlch(36.19, 66.61, 322.65°)
OKLaboklab(47.3% 0.1388 -0.113)
OKLCHoklch(47.3% 0.179 320.8)
XYZxyz(16.3175, 9.1049, 30.1701)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C97 #3D972C
analogous
#502C97 #862C97 #972C72
triadic
#862C97 #97862C #2C9786
tetradic
#862C97 #97502C #3D972C #2C7297
square
#862C97 #97502C #3D972C #2C7297
split-complementary
#862C97 #72972C #2C9750
monochromatic
#321038 #5C1E68 #862C97 #B03AC6 #C36AD4

Accessibility & contrast

On white

7.44
#862C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#862C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C97
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C97#FFFFFF#000000##FFFFFF
##862C971.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#873F5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862c97;
/* rgb */ color: rgb(134, 44, 151);
/* oklch */ color: oklch(47.3% 0.179 320.8);
Tailwind
colors: {
  custom: {
    50: '#ad6db6',
    500: '#862c97',
    950: '#000000',
  },
}
SCSS
$custom: #862c97;
$custom-light: #ad6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#862c97",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 290.467,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.17895,
    "h": 320.8
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#862C97
secondary
#72BA65
accent
#DE4A61
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862C97

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

Preview Lab → · Contrast checker → · Palette generator →

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