#862E95#862E95

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

Color values

HEX#862E95
RGBrgb(134, 46, 149)
HSLhsl(291, 53%, 38%)
HSVhsv(291, 69%, 58%)
CMYKcmyk(10.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(36.35, 51.75, -38.93)
CIE-LCHlch(36.35, 64.75, 323.05°)
OKLaboklab(47.38% 0.1366 -0.1087)
OKLCHoklch(47.38% 0.175 321.5)
XYZxyz(16.2327, 9.1931, 29.3474)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E95 #3D952E
analogous
#522E95 #862E95 #952E70
triadic
#862E95 #95862E #2E9586
tetradic
#862E95 #95522E #3D952E #2E7095
square
#862E95 #95522E #3D952E #2E7095
split-complementary
#862E95 #70952E #2E9552
monochromatic
#321137 #5C2066 #862E95 #B03DC3 #C36CD2

Accessibility & contrast

On white

7.40
#862E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862E95
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E95#FFFFFF#000000##FFFFFF
##862E951.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#3A5992
Tritanopia (blue-blind)
#87405E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862e95;
/* rgb */ color: rgb(134, 46, 149);
/* oklch */ color: oklch(47.4% 0.175 321.5);
Tailwind
colors: {
  custom: {
    50: '#ac6eb5',
    500: '#862e95',
    950: '#000000',
  },
}
SCSS
$custom: #862e95;
$custom-light: #ac6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#862e95",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 291.262,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.17457,
    "h": 321.5
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#862E95
secondary
#72B966
accent
#DC4C61
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862E95

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

Preview Lab → · Contrast checker → · Palette generator →

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