#86227F#86227F

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

Color values

HEX#86227F
RGBrgb(134, 34, 127)
HSLhsl(304, 60%, 33%)
HSVhsv(304, 75%, 53%)
CMYKcmyk(0%, 74.6%, 5.2%, 47.5%)
CIE-LABlab(33.45, 52.39, -29.97)
CIE-LCHlch(33.45, 60.35, 330.23°)
OKLaboklab(44.88% 0.1494 -0.0825)
OKLCHoklch(44.88% 0.171 331.1)
XYZxyz(14.2343, 7.7458, 20.8200)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86227F #228629
analogous
#5B2286 #86227F #86224D
triadic
#86227F #7F8622 #227F86
tetradic
#86227F #865B22 #228629 #224D86
square
#86227F #865B22 #228629 #224D86
split-complementary
#86227F #4D8622 #22865B
monochromatic
#240922 #551651 #86227F #B72EAD #D350C9

Accessibility & contrast

On white

8.24
#86227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#86227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #86227F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86227F#FFFFFF#000000##FFFFFF
##86227F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#41547D
Tritanopia (blue-blind)
#8B2E4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #86227f;
/* rgb */ color: rgb(134, 34, 127);
/* oklch */ color: oklch(44.9% 0.171 331.1);
Tailwind
colors: {
  custom: {
    50: '#ad68a4',
    500: '#86227f',
    950: '#000000',
  },
}
SCSS
$custom: #86227f;
$custom-light: #ad68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#86227f",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 304.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.17065,
    "h": 331.1
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#86227F
secondary
#4EB655
accent
#E35045
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #86227F

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

Preview Lab → · Contrast checker → · Palette generator →

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