#721CB4#721CB4

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

Color values

HEX#721CB4
RGBrgb(114, 28, 180)
HSLhsl(274, 73%, 41%)
HSVhsv(274, 84%, 71%)
CMYKcmyk(36.7%, 84.4%, 0%, 29.4%)
CIE-LABlab(33.36, 60.96, -62.58)
CIE-LCHlch(33.36, 87.36, 314.25°)
OKLaboklab(45.37% 0.1201 -0.1786)
OKLCHoklch(45.37% 0.215 303.9)
XYZxyz(15.5910, 7.7032, 43.8367)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721CB4 #5EB41C
analogous
#261CB4 #721CB4 #B41CAA
triadic
#721CB4 #B4721C #1CB472
tetradic
#721CB4 #B4261C #5EB41C #1CAAB4
square
#721CB4 #B4261C #5EB41C #1CAAB4
split-complementary
#721CB4 #AAB41C #1CB426
monochromatic
#2F0C4A #50147F #721CB4 #922FDF #AE64E7

Accessibility & contrast

On white

8.27
#721CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721CB4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721CB4#FFFFFF#000000##FFFFFF
##721CB41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#64486B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #721cb4;
/* rgb */ color: rgb(114, 28, 180);
/* oklch */ color: oklch(45.4% 0.215 303.9);
Tailwind
colors: {
  custom: {
    50: '#a166cc',
    500: '#721cb4',
    950: '#000000',
  },
}
SCSS
$custom: #721cb4;
$custom-light: #a166cc;
$custom-dark: #000000;
JSON
{
  "hex": "#721cb4",
  "rgb": {
    "r": 114,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 273.947,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.21528,
    "h": 303.9
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#721CB4
secondary
#8FCC60
accent
#F03888
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #721CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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