#862D89#862D89

#862D89 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.165 H 326.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#862D89
RGBrgb(134, 45, 137)
HSLhsl(298, 51%, 36%)
HSVhsv(298, 67%, 54%)
CMYKcmyk(2.2%, 67.2%, 0%, 46.3%)
CIE-LABlab(35.50, 49.91, -32.92)
CIE-LCHlch(35.50, 59.79, 326.59°)
OKLaboklab(46.54% 0.1377 -0.0912)
OKLCHoklch(46.54% 0.165 326.5)
XYZxyz(15.2850, 8.7522, 24.5463)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D89 #30892D
analogous
#582D89 #862D89 #892D5E
triadic
#862D89 #89862D #2D8986
tetradic
#862D89 #89582D #30892D #2D5E89
square
#862D89 #89582D #30892D #2D5E89
split-complementary
#862D89 #5E892D #2D8958
monochromatic
#2C0F2D #591E5B #862D89 #B33CB7 #C964CC

Accessibility & contrast

On white

7.64
#862D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#862D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D89
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D89#FFFFFF#000000##FFFFFF
##862D891.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#415787
Tritanopia (blue-blind)
#8A3A57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862d89;
/* rgb */ color: rgb(134, 45, 137);
/* oklch */ color: oklch(46.5% 0.165 326.5);
Tailwind
colors: {
  custom: {
    50: '#ac6dac',
    500: '#862d89',
    950: '#000000',
  },
}
SCSS
$custom: #862d89;
$custom-light: #ac6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#862d89",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 298.043,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.16517,
    "h": 326.5
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#862D89
secondary
#62B35F
accent
#DA4E52
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #862D89

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

Preview Lab → · Contrast checker → · Palette generator →

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