#8222BB#8222BB

#8222BB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.220 H 308.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8222BB
RGBrgb(130, 34, 187)
HSLhsl(278, 69%, 43%)
HSVhsv(278, 82%, 73%)
CMYKcmyk(30.5%, 81.8%, 0%, 26.7%)
CIE-LABlab(36.89, 63.07, -60.86)
CIE-LCHlch(36.89, 87.65, 316.02°)
OKLaboklab(48.48% 0.1366 -0.1731)
OKLCHoklch(48.48% 0.22 308.3)
XYZxyz(18.7457, 9.4780, 47.8460)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222BB #5BBB22
analogous
#3522BB #8222BB #BB22A7
triadic
#8222BB #BB8222 #22BB82
tetradic
#8222BB #BB3522 #5BBB22 #22A7BB
square
#8222BB #BB3522 #5BBB22 #22A7BB
split-complementary
#8222BB #A7BB22 #22BB35
monochromatic
#3A0F53 #5E1987 #8222BB #A13EDC #BA72E5

Accessibility & contrast

On white

7.25
#8222BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8222BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222BB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222BB#FFFFFF#000000##FFFFFF
##8222BB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#794B70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8222bb;
/* rgb */ color: rgb(130, 34, 187);
/* oklch */ color: oklch(48.5% 0.220 308.3);
Tailwind
colors: {
  custom: {
    50: '#ac6ad0',
    500: '#8222bb',
    950: '#000000',
  },
}
SCSS
$custom: #8222bb;
$custom-light: #ac6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8222bb",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 277.647,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.22049,
    "h": 308.3
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#8222BB
secondary
#90CC6D
accent
#EC3C7D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8222BB

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

Preview Lab → · Contrast checker → · Palette generator →

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