#8222B1#8222B1

#8222B1 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.212 H 311.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8222B1
RGBrgb(130, 34, 177)
HSLhsl(280, 68%, 41%)
HSVhsv(280, 81%, 69%)
CMYKcmyk(26.6%, 80.8%, 0%, 30.6%)
CIE-LABlab(36.11, 60.99, -56.21)
CIE-LCHlch(36.11, 82.94, 317.33°)
OKLaboklab(47.69% 0.1391 -0.1594)
OKLCHoklch(47.69% 0.212 311.1)
XYZxyz(17.7122, 9.0647, 42.4031)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222B1 #51B122
analogous
#3B22B1 #8222B1 #B12299
triadic
#8222B1 #B18222 #22B182
tetradic
#8222B1 #B13B22 #51B122 #2299B1
square
#8222B1 #B13B22 #51B122 #2299B1
split-complementary
#8222B1 #99B122 #22B13B
monochromatic
#370E4A #5C187E #8222B1 #A438D9 #BB6BE3

Accessibility & contrast

On white

7.47
#8222B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8222B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222B1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222B1#FFFFFF#000000##FFFFFF
##8222B11.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#7C476B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8222b1;
/* rgb */ color: rgb(130, 34, 177);
/* oklch */ color: oklch(47.7% 0.212 311.1);
Tailwind
colors: {
  custom: {
    50: '#ab6ac9',
    500: '#8222b1',
    950: '#000000',
  },
}
SCSS
$custom: #8222b1;
$custom-light: #ab6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8222b1",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 280.28,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.21156,
    "h": 311.1
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#8222B1
secondary
#87C966
accent
#EB3D76
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8222B1

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

Preview Lab → · Contrast checker → · Palette generator →

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