#AD22FF#AD22FF

#AD22FF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 59.5% C 0.288 H 307.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AD22FF
RGBrgb(173, 34, 255)
HSLhsl(278, 100%, 57%)
HSVhsv(278, 87%, 100%)
CMYKcmyk(32.2%, 86.7%, 0%, 0%)
CIE-LABlab(48.57, 82.94, -80.47)
CIE-LCHlch(48.57, 115.56, 315.87°)
OKLaboklab(59.51% 0.1742 -0.2293)
OKLCHoklch(59.51% 0.288 307.2)
XYZxyz(35.8517, 17.2488, 96.0290)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD22FF #74FF22
analogous
#3F22FF #AD22FF #FF22E2
triadic
#AD22FF #FFAD22 #22FFAD
tetradic
#AD22FF #FF3F22 #74FF22 #22E2FF
square
#AD22FF #FF3F22 #74FF22 #22E2FF
split-complementary
#AD22FF #E2FF22 #22FF3F
monochromatic
#6900A7 #8F00E4 #AD22FF #C45FFF #DA9CFF

Accessibility & contrast

On white

4.72
#AD22FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AD22FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD22FF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD22FF#FFFFFF#000000##FFFFFF
##AD22FF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#9F6599
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad22ff;
/* rgb */ color: rgb(173, 34, 255);
/* oklch */ color: oklch(59.5% 0.288 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd74ff',
    500: '#ad22ff',
    950: '#000000',
  },
}
SCSS
$custom: #ad22ff;
$custom-light: #cd74ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad22ff",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 255
  },
  "hsl": {
    "h": 277.738,
    "s": 100,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.28794,
    "h": 307.2
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#AD22FF
secondary
#B3EC91
accent
#FF2978
background
#FDF7FF
surface
#FAEEFF
border
#D3C9D7
text
#150A18
muted
#837C86

Preview Lab

Preview with #AD22FF

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

Preview Lab → · Contrast checker → · Palette generator →

#AD22FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva