#7220AB#7220AB

#7220AB is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.204 H 306.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7220AB
RGBrgb(114, 32, 171)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(33.3%, 81.3%, 0%, 32.9%)
CIE-LABlab(33.03, 57.69, -57.74)
CIE-LCHlch(33.03, 81.62, 314.98°)
OKLaboklab(44.9% 0.1201 -0.1645)
OKLCHoklch(44.9% 0.204 306.1)
XYZxyz(14.8050, 7.5508, 39.1977)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7220AB #59AB20
analogous
#2D20AB #7220AB #AB209E
triadic
#7220AB #AB7220 #20AB72
tetradic
#7220AB #AB2D20 #59AB20 #209EAB
square
#7220AB #AB2D20 #59AB20 #209EAB
split-complementary
#7220AB #9EAB20 #20AB2D
monochromatic
#2D0D44 #501677 #7220AB #9330D8 #AE63E2

Accessibility & contrast

On white

8.37
#7220AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7220AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7220AB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7220AB#FFFFFF#000000##FFFFFF
##7220AB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#684567
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7220ab;
/* rgb */ color: rgb(114, 32, 171);
/* oklch */ color: oklch(44.9% 0.204 306.1);
Tailwind
colors: {
  custom: {
    50: '#a067c5',
    500: '#7220ab',
    950: '#000000',
  },
}
SCSS
$custom: #7220ab;
$custom-light: #a067c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7220ab",
  "rgb": {
    "r": 114,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 275.396,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.20365,
    "h": 306.1
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#7220AB
secondary
#8AC760
accent
#EB3C84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7220AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7220AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva