#722EA2#722EA2

#722EA2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.180 H 307.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#722EA2
RGBrgb(114, 46, 162)
HSLhsl(275, 56%, 41%)
HSVhsv(275, 72%, 64%)
CMYKcmyk(29.6%, 71.6%, 0%, 36.5%)
CIE-LABlab(34.27, 50.08, -50.31)
CIE-LCHlch(34.27, 70.99, 314.87°)
OKLaboklab(45.56% 0.1094 -0.1427)
OKLCHoklch(45.56% 0.18 307.5)
XYZxyz(14.4366, 8.1402, 34.9861)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722EA2 #5EA22E
analogous
#382EA2 #722EA2 #A22E98
triadic
#722EA2 #A2722E #2EA272
tetradic
#722EA2 #A2382E #5EA22E #2E98A2
square
#722EA2 #A2382E #5EA22E #2E98A2
split-complementary
#722EA2 #98A22E #2EA238
monochromatic
#2F1343 #502072 #722EA2 #9243CA #AE73D7

Accessibility & contrast

On white

7.99
#722EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#722EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722EA2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722EA2#FFFFFF#000000##FFFFFF
##722EA21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0A51A0
Tritanopia (blue-blind)
#6A4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #722ea2;
/* rgb */ color: rgb(114, 46, 162);
/* oklch */ color: oklch(45.6% 0.180 307.5);
Tailwind
colors: {
  custom: {
    50: '#9f6dbe',
    500: '#722ea2',
    950: '#000000',
  },
}
SCSS
$custom: #722ea2;
$custom-light: #9f6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#722ea2",
  "rgb": {
    "r": 114,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 275.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.1798,
    "h": 307.5
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#722EA2
secondary
#8FBF6D
accent
#DF4987
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #722EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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