#862E7D#862E7D

#862E7D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.154 H 332.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#862E7D
RGBrgb(134, 46, 125)
HSLhsl(306, 49%, 35%)
HSVhsv(306, 66%, 53%)
CMYKcmyk(0%, 65.7%, 6.7%, 47.5%)
CIE-LABlab(35.01, 47.35, -26.26)
CIE-LCHlch(35.01, 54.14, 330.99°)
OKLaboklab(45.97% 0.1356 -0.072)
OKLCHoklch(45.97% 0.154 332)
XYZxyz(14.5102, 8.5041, 20.2753)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E7D #2E8637
analogous
#632E86 #862E7D #862E51
triadic
#862E7D #7D862E #2E7D86
tetradic
#862E7D #86632E #2E8637 #2E5186
square
#862E7D #86632E #2E8637 #2E5186
split-complementary
#862E7D #51862E #2E8663
monochromatic
#2B0F28 #581E52 #862E7D #B43EA8 #CA64C0

Accessibility & contrast

On white

7.78
#862E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E7D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E7D#FFFFFF#000000##FFFFFF
##862E7D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#8C3651
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862e7d;
/* rgb */ color: rgb(134, 46, 125);
/* oklch */ color: oklch(46.0% 0.154 332.0);
Tailwind
colors: {
  custom: {
    50: '#ac6ea3',
    500: '#862e7d',
    950: '#000000',
  },
}
SCSS
$custom: #862e7d;
$custom-light: #ac6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#862e7d",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 306.136,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.15352,
    "h": 332
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#862E7D
secondary
#5FB167
accent
#D85D4F
background
#FAF6FA
surface
#F5ECF3
border
#CFC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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