#862E99#862E99

#862E99 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.178 H 320.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#862E99
RGBrgb(134, 46, 153)
HSLhsl(289, 54%, 39%)
HSVhsv(289, 70%, 60%)
CMYKcmyk(12.4%, 69.9%, 0%, 40%)
CIE-LABlab(36.60, 52.53, -40.97)
CIE-LCHlch(36.60, 66.61, 322.05°)
OKLaboklab(47.63% 0.1365 -0.1146)
OKLCHoklch(47.63% 0.178 320)
XYZxyz(16.5576, 9.3230, 31.0582)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E99 #41992E
analogous
#512E99 #862E99 #992E77
triadic
#862E99 #99862E #2E9986
tetradic
#862E99 #99512E #41992E #2E7799
square
#862E99 #99512E #41992E #2E7799
split-complementary
#862E99 #77992E #2E9951
monochromatic
#34123B #5D206A #862E99 #AD3FC5 #C16ED3

Accessibility & contrast

On white

7.33
#862E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#862E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E99
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E99#FFFFFF#000000##FFFFFF
##862E991.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#864260
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862e99;
/* rgb */ color: rgb(134, 46, 153);
/* oklch */ color: oklch(47.6% 0.178 320.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fb7',
    500: '#862e99',
    950: '#000000',
  },
}
SCSS
$custom: #862e99;
$custom-light: #ac6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#862e99",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 289.346,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.17824,
    "h": 320
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#862E99
secondary
#77BB68
accent
#DD4B65
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862E99

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

Preview Lab → · Contrast checker → · Palette generator →

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