#862B89#862B89

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

Color values

HEX#862B89
RGBrgb(134, 43, 137)
HSLhsl(298, 52%, 35%)
HSVhsv(298, 69%, 54%)
CMYKcmyk(2.2%, 68.6%, 0%, 46.3%)
CIE-LABlab(35.21, 50.73, -33.39)
CIE-LCHlch(35.21, 60.73, 326.65°)
OKLaboklab(46.33% 0.14 -0.0925)
OKLCHoklch(46.33% 0.168 326.5)
XYZxyz(15.2105, 8.6032, 24.5215)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B89 #2E892B
analogous
#572B89 #862B89 #892B5D
triadic
#862B89 #89862B #2B8986
tetradic
#862B89 #89572B #2E892B #2B5D89
square
#862B89 #89572B #2E892B #2B5D89
split-complementary
#862B89 #5D892B #2B8957
monochromatic
#2B0E2C #581C5A #862B89 #B43AB8 #CA61CD

Accessibility & contrast

On white

7.72
#862B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#862B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B89
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B89#FFFFFF#000000##FFFFFF
##862B891.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#8A3956
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862b89;
/* rgb */ color: rgb(134, 43, 137);
/* oklch */ color: oklch(46.3% 0.168 326.5);
Tailwind
colors: {
  custom: {
    50: '#ac6cac',
    500: '#862b89',
    950: '#000000',
  },
}
SCSS
$custom: #862b89;
$custom-light: #ac6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#862b89",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 298.085,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46328,
    "c": 0.16783,
    "h": 326.5
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#862B89
secondary
#5FB35C
accent
#DC4C51
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862B89

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

Preview Lab → · Contrast checker → · Palette generator →

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