#862E96#862E96

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

Color values

HEX#862E96
RGBrgb(134, 46, 150)
HSLhsl(291, 53%, 38%)
HSVhsv(291, 69%, 59%)
CMYKcmyk(10.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(36.41, 51.94, -39.44)
CIE-LCHlch(36.41, 65.22, 322.79°)
OKLaboklab(47.44% 0.1366 -0.1102)
OKLCHoklch(47.44% 0.175 321.1)
XYZxyz(16.3129, 9.2252, 29.7696)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E96 #3E962E
analogous
#522E96 #862E96 #962E72
triadic
#862E96 #96862E #2E9686
tetradic
#862E96 #96522E #3E962E #2E7296
square
#862E96 #96522E #3E962E #2E7296
split-complementary
#862E96 #72962E #2E9652
monochromatic
#321138 #5C2067 #862E96 #AF3EC4 #C26CD2

Accessibility & contrast

On white

7.38
#862E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#862E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E96
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E96#FFFFFF#000000##FFFFFF
##862E961.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#395993
Tritanopia (blue-blind)
#87405E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862e96;
/* rgb */ color: rgb(134, 46, 150);
/* oklch */ color: oklch(47.4% 0.175 321.1);
Tailwind
colors: {
  custom: {
    50: '#ac6eb5',
    500: '#862e96',
    950: '#000000',
  },
}
SCSS
$custom: #862e96;
$custom-light: #ac6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#862e96",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 290.769,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.17549,
    "h": 321.1
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#862E96
secondary
#73B967
accent
#DC4B62
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862E96

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

Preview Lab → · Contrast checker → · Palette generator →

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