#862E9E#862E9E

#862E9E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 318.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#862E9E
RGBrgb(134, 46, 158)
HSLhsl(287, 55%, 40%)
HSVhsv(287, 71%, 62%)
CMYKcmyk(15.2%, 70.9%, 0%, 38%)
CIE-LABlab(36.91, 53.52, -43.49)
CIE-LCHlch(36.91, 68.96, 320.90°)
OKLaboklab(47.96% 0.1362 -0.122)
OKLCHoklch(47.96% 0.183 318.1)
XYZxyz(16.9792, 9.4917, 33.2788)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E9E #469E2E
analogous
#4E2E9E #862E9E #9E2E7E
triadic
#862E9E #9E862E #2E9E86
tetradic
#862E9E #9E4E2E #469E2E #2E7E9E
square
#862E9E #9E4E2E #469E2E #2E7E9E
split-complementary
#862E9E #7E9E2E #2E9E4E
monochromatic
#36123F #5E206F #862E9E #AB41C8 #C071D6

Accessibility & contrast

On white

7.25
#862E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#862E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E9E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E9E#FFFFFF#000000##FFFFFF
##862E9E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#854463
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862e9e;
/* rgb */ color: rgb(134, 46, 158);
/* oklch */ color: oklch(48.0% 0.183 318.1);
Tailwind
colors: {
  custom: {
    50: '#ad6fbb',
    500: '#862e9e',
    950: '#000000',
  },
}
SCSS
$custom: #862e9e;
$custom-light: #ad6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#862e9e",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 287.143,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.18286,
    "h": 318.1
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#862E9E
secondary
#7CBD6B
accent
#DE4A69
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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