#86217F#86217F

#86217F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.172 H 331.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#86217F
RGBrgb(134, 33, 127)
HSLhsl(304, 60%, 33%)
HSVhsv(304, 75%, 53%)
CMYKcmyk(0%, 75.4%, 5.2%, 47.5%)
CIE-LABlab(33.33, 52.73, -30.16)
CIE-LCHlch(33.33, 60.74, 330.23°)
OKLaboklab(44.79% 0.1503 -0.0831)
OKLCHoklch(44.79% 0.172 331.1)
XYZxyz(14.2061, 7.6895, 20.8106)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86217F #218628
analogous
#5A2186 #86217F #86214D
triadic
#86217F #7F8621 #217F86
tetradic
#86217F #865A21 #218628 #214D86
square
#86217F #865A21 #218628 #214D86
split-complementary
#86217F #4D8621 #21865A
monochromatic
#240922 #551550 #86217F #B72DAE #D34ECA

Accessibility & contrast

On white

8.28
#86217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#86217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #86217F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86217F#FFFFFF#000000##FFFFFF
##86217F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174582
Deuteranopia (green-blind)
#41537D
Tritanopia (blue-blind)
#8B2E4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #86217f;
/* rgb */ color: rgb(134, 33, 127);
/* oklch */ color: oklch(44.8% 0.172 331.1);
Tailwind
colors: {
  custom: {
    50: '#ad68a4',
    500: '#86217f',
    950: '#000000',
  },
}
SCSS
$custom: #86217f;
$custom-light: #ad68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#86217f",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 304.158,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44793,
    "c": 0.17177,
    "h": 331.1
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#86217F
secondary
#4CB754
accent
#E44F44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #86217F

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

Preview Lab → · Contrast checker → · Palette generator →

#86217F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva