#862E7E#862E7E

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

Color values

HEX#862E7E
RGBrgb(134, 46, 126)
HSLhsl(305, 49%, 35%)
HSVhsv(305, 66%, 53%)
CMYKcmyk(0%, 65.7%, 6%, 47.5%)
CIE-LABlab(35.06, 47.52, -26.80)
CIE-LCHlch(35.06, 54.56, 330.58°)
OKLaboklab(46.03% 0.1357 -0.0735)
OKLCHoklch(46.03% 0.154 331.6)
XYZxyz(14.5744, 8.5298, 20.6134)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E7E #2E8636
analogous
#622E86 #862E7E #862E52
triadic
#862E7E #7E862E #2E7E86
tetradic
#862E7E #86622E #2E8636 #2E5286
square
#862E7E #86622E #2E8636 #2E5286
split-complementary
#862E7E #52862E #2E8662
monochromatic
#2B0F28 #581E53 #862E7E #B43EA9 #CA64C1

Accessibility & contrast

On white

7.76
#862E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#862E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E7E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E7E#FFFFFF#000000##FFFFFF
##862E7E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#8B3652
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862e7e;
/* rgb */ color: rgb(134, 46, 126);
/* oklch */ color: oklch(46.0% 0.154 331.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ea3',
    500: '#862e7e',
    950: '#000000',
  },
}
SCSS
$custom: #862e7e;
$custom-light: #ac6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#862e7e",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 305.455,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.15435,
    "h": 331.6
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#862E7E
secondary
#5FB167
accent
#D85C4F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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