#8222BD#8222BD

#8222BD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.222 H 307.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8222BD
RGBrgb(130, 34, 189)
HSLhsl(277, 70%, 44%)
HSVhsv(277, 82%, 74%)
CMYKcmyk(31.2%, 82%, 0%, 25.9%)
CIE-LABlab(37.05, 63.50, -61.78)
CIE-LCHlch(37.05, 88.59, 315.78°)
OKLaboklab(48.64% 0.1361 -0.1758)
OKLCHoklch(48.64% 0.222 307.7)
XYZxyz(18.9613, 9.5643, 48.9815)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222BD #5DBD22
analogous
#3422BD #8222BD #BD22AA
triadic
#8222BD #BD8222 #22BD82
tetradic
#8222BD #BD3422 #5DBD22 #22AABD
square
#8222BD #BD3422 #5DBD22 #22AABD
split-complementary
#8222BD #AABD22 #22BD34
monochromatic
#3B0F55 #5E1989 #8222BD #A140DD #BA73E6

Accessibility & contrast

On white

7.21
#8222BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8222BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222BD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222BD#FFFFFF#000000##FFFFFF
##8222BD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#784C72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8222bd;
/* rgb */ color: rgb(130, 34, 189);
/* oklch */ color: oklch(48.6% 0.222 307.7);
Tailwind
colors: {
  custom: {
    50: '#ac6ad2',
    500: '#8222bd',
    950: '#000000',
  },
}
SCSS
$custom: #8222bd;
$custom-light: #ac6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8222bd",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 277.161,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.22229,
    "h": 307.7
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#8222BD
secondary
#92CD6E
accent
#EC3B7F
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8222BD

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

Preview Lab → · Contrast checker → · Palette generator →

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