#862F83#862F83

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

Color values

HEX#862F83
RGBrgb(134, 47, 131)
HSLhsl(302, 48%, 35%)
HSVhsv(302, 65%, 53%)
CMYKcmyk(0%, 64.9%, 2.2%, 47.5%)
CIE-LABlab(35.48, 47.97, -29.25)
CIE-LCHlch(35.48, 56.18, 328.63°)
OKLaboklab(46.42% 0.1349 -0.0806)
OKLCHoklch(46.42% 0.157 329.2)
XYZxyz(14.9446, 8.7411, 22.3684)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F83 #2F8632
analogous
#5D2F86 #862F83 #862F57
triadic
#862F83 #83862F #2F8386
tetradic
#862F83 #865D2F #2F8632 #2F5786
square
#862F83 #865D2F #2F8632 #2F5786
split-complementary
#862F83 #57862F #2F865D
monochromatic
#2B0F2A #591F57 #862F83 #B33FAF #C966C6

Accessibility & contrast

On white

7.64
#862F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F83
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F83#FFFFFF#000000##FFFFFF
##862F831.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#455881
Tritanopia (blue-blind)
#8B3955
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862f83;
/* rgb */ color: rgb(134, 47, 131);
/* oklch */ color: oklch(46.4% 0.157 329.2);
Tailwind
colors: {
  custom: {
    50: '#ac6ea7',
    500: '#862f83',
    950: '#000000',
  },
}
SCSS
$custom: #862f83;
$custom-light: #ac6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#862f83",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 302.069,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.15717,
    "h": 329.2
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#862F83
secondary
#60B063
accent
#D85550
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #862F83

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

Preview Lab → · Contrast checker → · Palette generator →

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