#8822B1#8822B1

#8822B1 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.213 H 313.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8822B1
RGBrgb(136, 34, 177)
HSLhsl(283, 68%, 41%)
HSVhsv(283, 81%, 69%)
CMYKcmyk(23.2%, 80.8%, 0%, 30.6%)
CIE-LABlab(37.03, 62.03, -54.68)
CIE-LCHlch(37.03, 82.69, 318.61°)
OKLaboklab(48.52% 0.147 -0.1547)
OKLCHoklch(48.52% 0.213 313.5)
XYZxyz(18.6598, 9.5532, 42.4475)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822B1 #4BB122
analogous
#4022B1 #8822B1 #B12293
triadic
#8822B1 #B18822 #22B188
tetradic
#8822B1 #B14022 #4BB122 #2293B1
square
#8822B1 #B14022 #4BB122 #2293B1
split-complementary
#8822B1 #93B122 #22B140
monochromatic
#390E4A #61187E #8822B1 #AA38D9 #C06BE3

Accessibility & contrast

On white

7.22
#8822B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8822B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8822B1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8822B1#FFFFFF#000000##FFFFFF
##8822B11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0D59AE
Tritanopia (blue-blind)
#84466B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8822b1;
/* rgb */ color: rgb(136, 34, 177);
/* oklch */ color: oklch(48.5% 0.213 313.5);
Tailwind
colors: {
  custom: {
    50: '#af6bc9',
    500: '#8822b1',
    950: '#000000',
  },
}
SCSS
$custom: #8822b1;
$custom-light: #af6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8822b1",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 282.797,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.21338,
    "h": 313.5
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#8822B1
secondary
#82C966
accent
#EB3D6F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8822B1

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

Preview Lab → · Contrast checker → · Palette generator →

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