#862A89#862A89

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

Color values

HEX#862A89
RGBrgb(134, 42, 137)
HSLhsl(298, 53%, 35%)
HSVhsv(298, 69%, 54%)
CMYKcmyk(2.2%, 69.3%, 0%, 46.3%)
CIE-LABlab(35.07, 51.13, -33.62)
CIE-LCHlch(35.07, 61.19, 326.68°)
OKLaboklab(46.23% 0.1411 -0.0932)
OKLCHoklch(46.23% 0.169 326.6)
XYZxyz(15.1746, 8.5314, 24.5095)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A89 #2D892A
analogous
#562A89 #862A89 #892A5D
triadic
#862A89 #89862A #2A8986
tetradic
#862A89 #89562A #2D892A #2A5D89
square
#862A89 #89562A #2D892A #2A5D89
split-complementary
#862A89 #5D892A #2A8956
monochromatic
#2A0D2B #581C5A #862A89 #B438B8 #CB5FCE

Accessibility & contrast

On white

7.76
#862A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862A89
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A89#FFFFFF#000000##FFFFFF
##862A891.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#8A3856
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862a89;
/* rgb */ color: rgb(134, 42, 137);
/* oklch */ color: oklch(46.2% 0.169 326.6);
Tailwind
colors: {
  custom: {
    50: '#ac6cac',
    500: '#862a89',
    950: '#000000',
  },
}
SCSS
$custom: #862a89;
$custom-light: #ac6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#862a89",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 298.105,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.16913,
    "h": 326.6
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#862A89
secondary
#5EB45B
accent
#DC4B50
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862A89

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

Preview Lab → · Contrast checker → · Palette generator →

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