#862988#862988

#862988 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.170 H 327.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#862988
RGBrgb(134, 41, 136)
HSLhsl(299, 54%, 35%)
HSVhsv(299, 70%, 53%)
CMYKcmyk(1.5%, 69.9%, 0%, 46.7%)
CIE-LABlab(34.87, 51.35, -33.31)
CIE-LCHlch(34.87, 61.21, 327.03°)
OKLaboklab(46.06% 0.1422 -0.0923)
OKLCHoklch(46.06% 0.17 327)
XYZxyz(15.0681, 8.4328, 24.1218)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862988 #2B8829
analogous
#572988 #862988 #88295B
triadic
#862988 #888629 #298886
tetradic
#862988 #885729 #2B8829 #295B88
square
#862988 #885729 #2B8829 #295B88
split-complementary
#862988 #5B8829 #298857
monochromatic
#290D2A #581B59 #862988 #B437B7 #CC5DCE

Accessibility & contrast

On white

7.82
#862988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#862988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862988
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862988#FFFFFF#000000##FFFFFF
##8629881.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8B
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#8A3755
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862988;
/* rgb */ color: rgb(134, 41, 136);
/* oklch */ color: oklch(46.1% 0.170 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac6bab',
    500: '#862988',
    950: '#000000',
  },
}
SCSS
$custom: #862988;
$custom-light: #ac6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#862988",
  "rgb": {
    "r": 134,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 298.737,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.16955,
    "h": 327
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#862988
secondary
#5BB459
accent
#DD4B4E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862988

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

Preview Lab → · Contrast checker → · Palette generator →

#862988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva