#8822B5#8822B5

#8822B5 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.217 H 312.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8822B5
RGBrgb(136, 34, 181)
HSLhsl(282, 68%, 42%)
HSVhsv(282, 81%, 71%)
CMYKcmyk(24.9%, 81.2%, 0%, 29%)
CIE-LABlab(37.33, 62.83, -56.57)
CIE-LCHlch(37.33, 84.54, 318.00°)
OKLaboklab(48.82% 0.1461 -0.1603)
OKLCHoklch(48.82% 0.217 312.4)
XYZxyz(19.0643, 9.7151, 44.5780)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822B5 #4FB522
analogous
#3F22B5 #8822B5 #B52298
triadic
#8822B5 #B58822 #22B588
tetradic
#8822B5 #B53F22 #4FB522 #2298B5
square
#8822B5 #B53F22 #4FB522 #2298B5
split-complementary
#8822B5 #98B522 #22B53F
monochromatic
#3B0F4E #611881 #8822B5 #A93ADA #C06EE4

Accessibility & contrast

On white

7.14
#8822B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8822B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8822B5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8822B5#FFFFFF#000000##FFFFFF
##8822B51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#83476D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8822b5;
/* rgb */ color: rgb(136, 34, 181);
/* oklch */ color: oklch(48.8% 0.217 312.4);
Tailwind
colors: {
  custom: {
    50: '#b06bcc',
    500: '#8822b5',
    950: '#000000',
  },
}
SCSS
$custom: #8822b5;
$custom-light: #b06bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8822b5",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 281.633,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.21686,
    "h": 312.4
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#8822B5
secondary
#87CA69
accent
#EB3D72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8822B5

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

Preview Lab → · Contrast checker → · Palette generator →

#8822B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva