#721DB3#721DB3

#721DB3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.4% C 0.214 H 304.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#721DB3
RGBrgb(114, 29, 179)
HSLhsl(274, 72%, 41%)
HSVhsv(274, 84%, 70%)
CMYKcmyk(36.3%, 83.8%, 0%, 29.8%)
CIE-LABlab(33.37, 60.43, -61.96)
CIE-LCHlch(33.37, 86.55, 314.29°)
OKLaboklab(45.35% 0.1198 -0.1768)
OKLCHoklch(45.35% 0.214 304.1)
XYZxyz(15.5136, 7.7109, 43.3101)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721DB3 #5EB31D
analogous
#271DB3 #721DB3 #B31DA9
triadic
#721DB3 #B3721D #1DB372
tetradic
#721DB3 #B3271D #5EB31D #1DA9B3
square
#721DB3 #B3271D #5EB31D #1DA9B3
split-complementary
#721DB3 #A9B31D #1DB327
monochromatic
#2F0C4A #50147E #721DB3 #9230DD #AE64E6

Accessibility & contrast

On white

8.26
#721DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#721DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721DB3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721DB3#FFFFFF#000000##FFFFFF
##721DB31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#65486B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #721db3;
/* rgb */ color: rgb(114, 29, 179);
/* oklch */ color: oklch(45.4% 0.214 304.1);
Tailwind
colors: {
  custom: {
    50: '#a166cb',
    500: '#721db3',
    950: '#000000',
  },
}
SCSS
$custom: #721db3;
$custom-light: #a166cb;
$custom-dark: #000000;
JSON
{
  "hex": "#721db3",
  "rgb": {
    "r": 114,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 274,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.21359,
    "h": 304.1
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#721DB3
secondary
#8FCB61
accent
#EF3988
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #721DB3

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

Preview Lab → · Contrast checker → · Palette generator →

#721DB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva