#722FA7#722FA7

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

Color values

HEX#722FA7
RGBrgb(114, 47, 167)
HSLhsl(274, 56%, 42%)
HSVhsv(274, 72%, 65%)
CMYKcmyk(31.7%, 71.9%, 0%, 34.5%)
CIE-LABlab(34.80, 50.80, -52.46)
CIE-LCHlch(34.80, 73.02, 314.08°)
OKLaboklab(46.05% 0.1076 -0.149)
OKLCHoklch(46.05% 0.184 305.8)
XYZxyz(14.9295, 8.4006, 37.3867)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722FA7 #64A72F
analogous
#362FA7 #722FA7 #A72FA0
triadic
#722FA7 #A7722F #2FA772
tetradic
#722FA7 #A7362F #64A72F #2FA0A7
square
#722FA7 #A7362F #64A72F #2FA0A7
split-complementary
#722FA7 #A0A72F #2FA736
monochromatic
#311447 #512277 #722FA7 #9148CB #AE78D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##722FA7#FFFFFF#000000##FFFFFF
##722FA71.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)
#0050AA
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#694B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #722fa7;
/* rgb */ color: rgb(114, 47, 167);
/* oklch */ color: oklch(46.1% 0.184 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dc2',
    500: '#722fa7',
    950: '#000000',
  },
}
SCSS
$custom: #722fa7;
$custom-light: #9f6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#722fa7",
  "rgb": {
    "r": 114,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 273.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.1838,
    "h": 305.8
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#722FA7
secondary
#94C171
accent
#DF488B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #722FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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