#722AA2#722AA2

#722AA2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.185 H 307.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#722AA2
RGBrgb(114, 42, 162)
HSLhsl(276, 59%, 40%)
HSVhsv(276, 74%, 64%)
CMYKcmyk(29.6%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.65, 51.84, -51.31)
CIE-LCHlch(33.65, 72.94, 315.29°)
OKLaboklab(45.12% 0.1135 -0.1456)
OKLCHoklch(45.12% 0.185 307.9)
XYZxyz(14.2876, 7.8422, 34.9364)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722AA2 #5AA22A
analogous
#362AA2 #722AA2 #A22A96
triadic
#722AA2 #A2722A #2AA272
tetradic
#722AA2 #A2362A #5AA22A #2A96A2
square
#722AA2 #A2362A #5AA22A #2A96A2
split-complementary
#722AA2 #96A22A #2AA236
monochromatic
#2E1141 #501D71 #722AA2 #933DCD #AE6DD9

Accessibility & contrast

On white

8.18
#722AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#722AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722AA2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722AA2#FFFFFF#000000##FFFFFF
##722AA21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#6A4664
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #722aa2;
/* rgb */ color: rgb(114, 42, 162);
/* oklch */ color: oklch(45.1% 0.185 307.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bbe',
    500: '#722aa2',
    950: '#000000',
  },
}
SCSS
$custom: #722aa2;
$custom-light: #9f6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#722aa2",
  "rgb": {
    "r": 114,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 276,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.18463,
    "h": 307.9
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#722AA2
secondary
#8BC068
accent
#E24684
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #722AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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