#862B94#862B94

#862B94 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.177 H 322.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#862B94
RGBrgb(134, 43, 148)
HSLhsl(292, 55%, 37%)
HSVhsv(292, 71%, 58%)
CMYKcmyk(9.5%, 70.9%, 0%, 42%)
CIE-LABlab(35.86, 52.78, -39.11)
CIE-LCHlch(35.86, 65.69, 323.46°)
OKLaboklab(47% 0.1399 -0.1092)
OKLCHoklch(47% 0.178 322)
XYZxyz(16.0401, 8.9351, 28.8910)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B94 #39942B
analogous
#512B94 #862B94 #942B6E
triadic
#862B94 #94862B #2B9486
tetradic
#862B94 #94512B #39942B #2B6E94
square
#862B94 #94512B #39942B #2B6E94
split-complementary
#862B94 #6E942B #2B9451
monochromatic
#300F35 #5B1D65 #862B94 #B139C3 #C467D3

Accessibility & contrast

On white

7.54
#862B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#862B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B94
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B94#FFFFFF#000000##FFFFFF
##862B941.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#883E5C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862b94;
/* rgb */ color: rgb(134, 43, 148);
/* oklch */ color: oklch(47.0% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#ac6db4',
    500: '#862b94',
    950: '#000000',
  },
}
SCSS
$custom: #862b94;
$custom-light: #ac6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#862b94",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 292,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.1775,
    "h": 322
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#862B94
secondary
#6DB962
accent
#DE495D
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862B94

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

Preview Lab → · Contrast checker → · Palette generator →

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