#722AA1#722AA1

#722AA1 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.184 H 308.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#722AA1
RGBrgb(114, 42, 161)
HSLhsl(276, 59%, 40%)
HSVhsv(276, 74%, 63%)
CMYKcmyk(29.2%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.58, 51.61, -50.83)
CIE-LCHlch(33.58, 72.44, 315.44°)
OKLaboklab(45.04% 0.1137 -0.1442)
OKLCHoklch(45.04% 0.184 308.2)
XYZxyz(14.1991, 7.8068, 34.4702)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722AA1 #59A12A
analogous
#372AA1 #722AA1 #A12A94
triadic
#722AA1 #A1722A #2AA172
tetradic
#722AA1 #A1372A #59A12A #2A94A1
square
#722AA1 #A1372A #59A12A #2A94A1
split-complementary
#722AA1 #94A12A #2AA137
monochromatic
#2D1140 #501D70 #722AA1 #933CCC #AE6DD9

Accessibility & contrast

On white

8.20
#722AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#722AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722AA1
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722AA1#FFFFFF#000000##FFFFFF
##722AA11.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#6B4663
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #722aa1;
/* rgb */ color: rgb(114, 42, 161);
/* oklch */ color: oklch(45.0% 0.184 308.2);
Tailwind
colors: {
  custom: {
    50: '#9f6bbe',
    500: '#722aa1',
    950: '#000000',
  },
}
SCSS
$custom: #722aa1;
$custom-light: #9f6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#722aa1",
  "rgb": {
    "r": 114,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 276.303,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.18362,
    "h": 308.2
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#722AA1
secondary
#8AC067
accent
#E24684
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #722AA1

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

Preview Lab → · Contrast checker → · Palette generator →

#722AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva