#862E83#862E83

#862E83 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.159 H 329.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#862E83
RGBrgb(134, 46, 131)
HSLhsl(302, 49%, 35%)
HSVhsv(302, 66%, 53%)
CMYKcmyk(0%, 65.7%, 2.2%, 47.5%)
CIE-LABlab(35.33, 48.40, -29.50)
CIE-LCHlch(35.33, 56.68, 328.64°)
OKLaboklab(46.3% 0.1362 -0.0813)
OKLCHoklch(46.3% 0.159 329.2)
XYZxyz(14.9051, 8.6621, 22.3552)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E83 #2E8631
analogous
#5D2E86 #862E83 #862E57
triadic
#862E83 #83862E #2E8386
tetradic
#862E83 #865D2E #2E8631 #2E5786
square
#862E83 #865D2E #2E8631 #2E5786
split-complementary
#862E83 #57862E #2E865D
monochromatic
#2B0F2A #581E56 #862E83 #B43EB0 #CA64C6

Accessibility & contrast

On white

7.69
#862E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#862E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E83
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E83#FFFFFF#000000##FFFFFF
##862E831.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B86
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#8B3954
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862e83;
/* rgb */ color: rgb(134, 46, 131);
/* oklch */ color: oklch(46.3% 0.159 329.2);
Tailwind
colors: {
  custom: {
    50: '#ac6ea7',
    500: '#862e83',
    950: '#000000',
  },
}
SCSS
$custom: #862e83;
$custom-light: #ac6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#862e83",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 302.045,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.15859,
    "h": 329.2
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#862E83
secondary
#5FB162
accent
#D8544F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #862E83

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

Preview Lab → · Contrast checker → · Palette generator →

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