#862B88#862B88

#862B88 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.167 H 327.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#862B88
RGBrgb(134, 43, 136)
HSLhsl(299, 52%, 35%)
HSVhsv(299, 68%, 53%)
CMYKcmyk(1.5%, 68.4%, 0%, 46.7%)
CIE-LABlab(35.15, 50.55, -32.86)
CIE-LCHlch(35.15, 60.29, 326.97°)
OKLaboklab(46.27% 0.14 -0.091)
OKLCHoklch(46.27% 0.167 327)
XYZxyz(15.1391, 8.5747, 24.1455)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B88 #2D882B
analogous
#582B88 #862B88 #882B5B
triadic
#862B88 #88862B #2B8886
tetradic
#862B88 #88582B #2D882B #2B5B88
square
#862B88 #88582B #2D882B #2B5B88
split-complementary
#862B88 #5B882B #2B8858
monochromatic
#2A0E2B #581C5A #862B88 #B43AB6 #CB61CD

Accessibility & contrast

On white

7.74
#862B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#862B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B88
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B88#FFFFFF#000000##FFFFFF
##862B881.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#8A3856
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862b88;
/* rgb */ color: rgb(134, 43, 136);
/* oklch */ color: oklch(46.3% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac6cab',
    500: '#862b88',
    950: '#000000',
  },
}
SCSS
$custom: #862b88;
$custom-light: #ac6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#862b88",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 298.71,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.16696,
    "h": 327
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#862B88
secondary
#5EB35C
accent
#DB4C4F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862B88

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

Preview Lab → · Contrast checker → · Palette generator →

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