#862D94#862D94

#862D94 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.175 H 321.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#862D94
RGBrgb(134, 45, 148)
HSLhsl(292, 53%, 38%)
HSVhsv(292, 70%, 58%)
CMYKcmyk(9.5%, 69.6%, 0%, 42%)
CIE-LABlab(36.15, 51.97, -38.65)
CIE-LCHlch(36.15, 64.76, 323.36°)
OKLaboklab(47.21% 0.1378 -0.1079)
OKLCHoklch(47.21% 0.175 321.9)
XYZxyz(16.1146, 9.0841, 28.9158)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D94 #3B942D
analogous
#532D94 #862D94 #942D6E
triadic
#862D94 #94862D #2D9486
tetradic
#862D94 #94532D #3B942D #2D6E94
square
#862D94 #94532D #3B942D #2D6E94
split-complementary
#862D94 #6E942D #2D9453
monochromatic
#311036 #5C1F65 #862D94 #B03BC3 #C46AD2

Accessibility & contrast

On white

7.46
#862D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862D94
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D94#FFFFFF#000000##FFFFFF
##862D941.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F97
Deuteranopia (green-blind)
#3A5891
Tritanopia (blue-blind)
#883F5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862d94;
/* rgb */ color: rgb(134, 45, 148);
/* oklch */ color: oklch(47.2% 0.175 321.9);
Tailwind
colors: {
  custom: {
    50: '#ac6eb4',
    500: '#862d94',
    950: '#000000',
  },
}
SCSS
$custom: #862d94;
$custom-light: #ac6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#862d94",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 291.845,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.17497,
    "h": 321.9
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#862D94
secondary
#70B864
accent
#DD4B5F
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862D94

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

Preview Lab → · Contrast checker → · Palette generator →

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