#8822D2#8822D2

#8822D2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 51.1% C 0.242 H 304.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8822D2
RGBrgb(136, 34, 210)
HSLhsl(275, 72%, 48%)
HSVhsv(275, 84%, 82%)
CMYKcmyk(35.2%, 83.8%, 0%, 17.6%)
CIE-LABlab(39.63, 68.84, -69.77)
CIE-LCHlch(39.63, 98.02, 314.62°)
OKLaboklab(51.14% 0.1382 -0.199)
OKLCHoklch(51.14% 0.242 304.8)
XYZxyz(22.3556, 11.0315, 61.9118)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822D2 #6CD222
analogous
#3022D2 #8822D2 #D222C4
triadic
#8822D2 #D28822 #22D288
tetradic
#8822D2 #D23022 #6CD222 #22C4D2
square
#8822D2 #D23022 #6CD222 #22C4D2
split-complementary
#8822D2 #C4D222 #22D230
monochromatic
#441169 #66199D #8822D2 #A44FE2 #BF83EB

Accessibility & contrast

On white

6.55
#8822D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8822D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8822D2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8822D2#FFFFFF#000000##FFFFFF
##8822D21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#79557E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8822d2;
/* rgb */ color: rgb(136, 34, 210);
/* oklch */ color: oklch(51.1% 0.242 304.8);
Tailwind
colors: {
  custom: {
    50: '#b26ce1',
    500: '#8822d2',
    950: '#000000',
  },
}
SCSS
$custom: #8822d2;
$custom-light: #b26ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8822d2",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 210
  },
  "hsl": {
    "h": 274.773,
    "s": 72.131,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.24232,
    "h": 304.8
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#8822D2
secondary
#A1D47C
accent
#EF3985
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8822D2

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

Preview Lab → · Contrast checker → · Palette generator →

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