#862B8D#862B8D

#862B8D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.171 H 324.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#862B8D
RGBrgb(134, 43, 141)
HSLhsl(296, 53%, 36%)
HSVhsv(296, 70%, 55%)
CMYKcmyk(5%, 69.5%, 0%, 44.7%)
CIE-LABlab(35.44, 51.46, -35.49)
CIE-LCHlch(35.44, 62.51, 325.41°)
OKLaboklab(46.57% 0.1401 -0.0986)
OKLCHoklch(46.57% 0.171 324.8)
XYZxyz(15.5027, 8.7201, 26.0607)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B8D #328D2B
analogous
#552B8D #862B8D #8D2B63
triadic
#862B8D #8D862B #2B8D86
tetradic
#862B8D #8D552B #328D2B #2B638D
square
#862B8D #8D552B #328D2B #2B638D
split-complementary
#862B8D #638D2B #2B8D55
monochromatic
#2D0E2F #591D5E #862B8D #B339BC #C863CF

Accessibility & contrast

On white

7.65
#862B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#862B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B8D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B8D#FFFFFF#000000##FFFFFF
##862B8D1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#3E578B
Tritanopia (blue-blind)
#893B59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862b8d;
/* rgb */ color: rgb(134, 43, 141);
/* oklch */ color: oklch(46.6% 0.171 324.8);
Tailwind
colors: {
  custom: {
    50: '#ac6daf',
    500: '#862b8d',
    950: '#000000',
  },
}
SCSS
$custom: #862b8d;
$custom-light: #ac6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#862b8d",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 295.714,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.17131,
    "h": 324.8
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#862B8D
secondary
#64B65E
accent
#DD4B56
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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