#8222D5#8222D5

#8222D5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.6% C 0.244 H 301.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8222D5
RGBrgb(130, 34, 213)
HSLhsl(272, 72%, 48%)
HSVhsv(272, 84%, 84%)
CMYKcmyk(39%, 84%, 0%, 16.5%)
CIE-LABlab(39.06, 68.67, -72.48)
CIE-LCHlch(39.06, 99.84, 313.45°)
OKLaboklab(50.65% 0.1287 -0.2072)
OKLCHoklch(50.65% 0.244 301.8)
XYZxyz(21.7853, 10.6939, 63.8543)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222D5 #75D522
analogous
#2822D5 #8222D5 #D522CE
triadic
#8222D5 #D58222 #22D582
tetradic
#8222D5 #D52822 #75D522 #22CED5
square
#8222D5 #D52822 #75D522 #22CED5
split-complementary
#8222D5 #CED522 #22D528
monochromatic
#42116B #621AA0 #8222D5 #9F51E3 #BC86EC

Accessibility & contrast

On white

6.69
#8222D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8222D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8222D5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222D5#FFFFFF#000000##FFFFFF
##8222D51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDA
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#6F5780
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8222d5;
/* rgb */ color: rgb(130, 34, 213);
/* oklch */ color: oklch(50.6% 0.244 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ce3',
    500: '#8222d5',
    950: '#000000',
  },
}
SCSS
$custom: #8222d5;
$custom-light: #ae6ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#8222d5",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 213
  },
  "hsl": {
    "h": 272.179,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.2439,
    "h": 301.8
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#8222D5
secondary
#A6D57E
accent
#EF398D
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #8222D5

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

Preview Lab → · Contrast checker → · Palette generator →

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