#862A88#862A88

#862A88 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.168 H 327.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#862A88
RGBrgb(134, 42, 136)
HSLhsl(299, 53%, 35%)
HSVhsv(299, 69%, 53%)
CMYKcmyk(1.5%, 69.1%, 0%, 46.7%)
CIE-LABlab(35.01, 50.95, -33.09)
CIE-LCHlch(35.01, 60.76, 327.00°)
OKLaboklab(46.17% 0.1411 -0.0917)
OKLCHoklch(46.17% 0.168 327)
XYZxyz(15.1032, 8.5028, 24.1335)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A88 #2C882A
analogous
#572A88 #862A88 #882A5B
triadic
#862A88 #88862A #2A8886
tetradic
#862A88 #88572A #2C882A #2A5B88
square
#862A88 #88572A #2C882A #2A5B88
split-complementary
#862A88 #5B882A #2A8857
monochromatic
#2A0D2A #581C59 #862A88 #B438B7 #CB5FCE

Accessibility & contrast

On white

7.78
#862A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A88
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A88#FFFFFF#000000##FFFFFF
##862A881.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#8A3856
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862a88;
/* rgb */ color: rgb(134, 42, 136);
/* oklch */ color: oklch(46.2% 0.168 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac6cab',
    500: '#862a88',
    950: '#000000',
  },
}
SCSS
$custom: #862a88;
$custom-light: #ac6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#862a88",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 298.723,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.16827,
    "h": 327
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#862A88
secondary
#5CB35B
accent
#DC4C4F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862A88

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

Preview Lab → · Contrast checker → · Palette generator →

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