#862F84#862F84

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

Color values

HEX#862F84
RGBrgb(134, 47, 132)
HSLhsl(301, 48%, 35%)
HSVhsv(301, 65%, 53%)
CMYKcmyk(0%, 64.9%, 1.5%, 47.5%)
CIE-LABlab(35.53, 48.15, -29.79)
CIE-LCHlch(35.53, 56.62, 328.26°)
OKLaboklab(46.47% 0.135 -0.0821)
OKLCHoklch(46.47% 0.158 328.7)
XYZxyz(15.0127, 8.7683, 22.7271)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F84 #2F8631
analogous
#5C2F86 #862F84 #862F58
triadic
#862F84 #84862F #2F8486
tetradic
#862F84 #865C2F #2F8631 #2F5886
square
#862F84 #865C2F #2F8631 #2F5886
split-complementary
#862F84 #58862F #2F865C
monochromatic
#2B0F2B #591F57 #862F84 #B33FB1 #C966C7

Accessibility & contrast

On white

7.63
#862F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F84
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F84#FFFFFF#000000##FFFFFF
##862F841.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C87
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#8A3A55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862f84;
/* rgb */ color: rgb(134, 47, 132);
/* oklch */ color: oklch(46.5% 0.158 328.7);
Tailwind
colors: {
  custom: {
    50: '#ac6ea8',
    500: '#862f84',
    950: '#000000',
  },
}
SCSS
$custom: #862f84;
$custom-light: #ac6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#862f84",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 301.379,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.15803,
    "h": 328.7
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#862F84
secondary
#60B062
accent
#D85350
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #862F84

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

Preview Lab → · Contrast checker → · Palette generator →

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