#86227B#86227B

#86227B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.168 H 332.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#86227B
RGBrgb(134, 34, 123)
HSLhsl(307, 60%, 33%)
HSVhsv(307, 75%, 53%)
CMYKcmyk(0%, 74.6%, 8.2%, 47.5%)
CIE-LABlab(33.23, 51.73, -27.81)
CIE-LCHlch(33.23, 58.73, 331.74°)
OKLaboklab(44.65% 0.1491 -0.0763)
OKLCHoklch(44.65% 0.168 332.9)
XYZxyz(13.9788, 7.6436, 19.4742)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86227B #22862D
analogous
#5F2286 #86227B #862249
triadic
#86227B #7B8622 #227B86
tetradic
#86227B #865F22 #22862D #224986
square
#86227B #865F22 #22862D #224986
split-complementary
#86227B #498622 #22865F
monochromatic
#240921 #55164E #86227B #B72EA8 #D350C4

Accessibility & contrast

On white

8.31
#86227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#86227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #86227B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86227B#FFFFFF#000000##FFFFFF
##86227B1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#8C2C4C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #86227b;
/* rgb */ color: rgb(134, 34, 123);
/* oklch */ color: oklch(44.7% 0.168 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad68a1',
    500: '#86227b',
    950: '#000000',
  },
}
SCSS
$custom: #86227b;
$custom-light: #ad68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#86227b",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 306.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.16753,
    "h": 332.9
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#86227B
secondary
#4EB659
accent
#E35645
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #86227B

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

Preview Lab → · Contrast checker → · Palette generator →

#86227B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva