#88227F#88227F

#88227F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.172 H 331.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#88227F
RGBrgb(136, 34, 127)
HSLhsl(305, 60%, 33%)
HSVhsv(305, 75%, 53%)
CMYKcmyk(0%, 75%, 6.6%, 46.7%)
CIE-LABlab(33.80, 52.86, -29.39)
CIE-LCHlch(33.80, 60.48, 330.93°)
OKLaboklab(45.2% 0.1515 -0.0808)
OKLCHoklch(45.2% 0.172 331.9)
XYZxyz(14.5562, 7.9118, 20.8350)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#88227F #22882B
analogous
#5E2288 #88227F #88224C
triadic
#88227F #7F8822 #227F88
tetradic
#88227F #885E22 #22882B #224C88
square
#88227F #885E22 #22882B #224C88
split-complementary
#88227F #4C8822 #22885E
monochromatic
#260A24 #571651 #88227F #B92EAD #D351C8

Accessibility & contrast

On white

8.13
#88227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#88227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #88227F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##88227F#FFFFFF#000000##FFFFFF
##88227F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4682
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#8E2E4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #88227f;
/* rgb */ color: rgb(136, 34, 127);
/* oklch */ color: oklch(45.2% 0.172 331.9);
Tailwind
colors: {
  custom: {
    50: '#ae68a4',
    500: '#88227f',
    950: '#000000',
  },
}
SCSS
$custom: #88227f;
$custom-light: #ae68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#88227f",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 305.294,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.17175,
    "h": 331.9
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#88227F
secondary
#4FB758
accent
#E35345
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #88227F

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

Preview Lab → · Contrast checker → · Palette generator →

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