#862C99#862C99

#862C99 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.181 H 320.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#862C99
RGBrgb(134, 44, 153)
HSLhsl(290, 55%, 39%)
HSVhsv(290, 71%, 60%)
CMYKcmyk(12.4%, 71.2%, 0%, 40%)
CIE-LABlab(36.31, 53.34, -41.43)
CIE-LCHlch(36.31, 67.54, 322.17°)
OKLaboklab(47.43% 0.1387 -0.116)
OKLCHoklch(47.43% 0.181 320.1)
XYZxyz(16.4813, 9.1704, 31.0328)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C99 #3F992C
analogous
#4F2C99 #862C99 #992C75
triadic
#862C99 #99862C #2C9986
tetradic
#862C99 #994F2C #3F992C #2C7599
square
#862C99 #994F2C #3F992C #2C7599
split-complementary
#862C99 #75992C #2C994F
monochromatic
#33113A #5C1E69 #862C99 #AE3BC7 #C26BD4

Accessibility & contrast

On white

7.41
#862C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#862C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C99
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C99#FFFFFF#000000##FFFFFF
##862C991.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#87405F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862c99;
/* rgb */ color: rgb(134, 44, 153);
/* oklch */ color: oklch(47.4% 0.181 320.1);
Tailwind
colors: {
  custom: {
    50: '#ad6eb8',
    500: '#862c99',
    950: '#000000',
  },
}
SCSS
$custom: #862c99;
$custom-light: #ad6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#862c99",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 289.541,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.18076,
    "h": 320.1
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#862C99
secondary
#74BB66
accent
#DF4963
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862C99

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

Preview Lab → · Contrast checker → · Palette generator →

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