#722DAB#722DAB

#722DAB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.190 H 304.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#722DAB
RGBrgb(114, 45, 171)
HSLhsl(273, 58%, 42%)
HSVhsv(273, 74%, 67%)
CMYKcmyk(33.3%, 73.7%, 0%, 32.9%)
CIE-LABlab(34.79, 52.63, -54.87)
CIE-LCHlch(34.79, 76.03, 313.80°)
OKLaboklab(46.14% 0.1089 -0.1561)
OKLCHoklch(46.14% 0.19 304.9)
XYZxyz(15.2268, 8.3945, 39.3383)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722DAB #66AB2D
analogous
#332DAB #722DAB #AB2DA5
triadic
#722DAB #AB722D #2DAB72
tetradic
#722DAB #AB332D #66AB2D #2DA5AB
square
#722DAB #AB332D #66AB2D #2DA5AB
split-complementary
#722DAB #A5AB2D #2DAB33
monochromatic
#31144A #52207B #722DAB #9147CE #AE77DB

Accessibility & contrast

On white

7.84
#722DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#722DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722DAB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722DAB#FFFFFF#000000##FFFFFF
##722DAB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#674C6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #722dab;
/* rgb */ color: rgb(114, 45, 171);
/* oklch */ color: oklch(46.1% 0.190 304.9);
Tailwind
colors: {
  custom: {
    50: '#a06dc5',
    500: '#722dab',
    950: '#000000',
  },
}
SCSS
$custom: #722dab;
$custom-light: #a06dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#722dab",
  "rgb": {
    "r": 114,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 272.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4614,
    "c": 0.19033,
    "h": 304.9
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#722DAB
secondary
#96C371
accent
#E2468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #722DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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