#862D95#862D95

#862D95 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 321.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#862D95
RGBrgb(134, 45, 149)
HSLhsl(291, 54%, 38%)
HSVhsv(291, 70%, 58%)
CMYKcmyk(10.1%, 69.8%, 0%, 41.6%)
CIE-LABlab(36.21, 52.16, -39.16)
CIE-LCHlch(36.21, 65.23, 323.10°)
OKLaboklab(47.27% 0.1377 -0.1094)
OKLCHoklch(47.27% 0.176 321.5)
XYZxyz(16.1941, 9.1159, 29.3345)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D95 #3C952D
analogous
#522D95 #862D95 #952D70
triadic
#862D95 #95862D #2D9586
tetradic
#862D95 #95522D #3C952D #2D7095
square
#862D95 #95522D #3C952D #2D7095
split-complementary
#862D95 #70952D #2D9552
monochromatic
#311137 #5C1F66 #862D95 #B03BC4 #C36AD2

Accessibility & contrast

On white

7.44
#862D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#862D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D95
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D95#FFFFFF#000000##FFFFFF
##862D951.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F98
Deuteranopia (green-blind)
#3A5892
Tritanopia (blue-blind)
#873F5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862d95;
/* rgb */ color: rgb(134, 45, 149);
/* oklch */ color: oklch(47.3% 0.176 321.5);
Tailwind
colors: {
  custom: {
    50: '#ac6eb5',
    500: '#862d95',
    950: '#000000',
  },
}
SCSS
$custom: #862d95;
$custom-light: #ac6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#862d95",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 291.346,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.17587,
    "h": 321.5
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#862D95
secondary
#71B965
accent
#DD4B60
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862D95

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

Preview Lab → · Contrast checker → · Palette generator →

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