#721C87#721C87

#721C87 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.174 H 318.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#721C87
RGBrgb(114, 28, 135)
HSLhsl(288, 66%, 32%)
HSVhsv(288, 79%, 53%)
CMYKcmyk(15.6%, 79.3%, 0%, 47.1%)
CIE-LABlab(29.81, 51.47, -40.97)
CIE-LCHlch(29.81, 65.79, 321.48°)
OKLaboklab(41.78% 0.1311 -0.1152)
OKLCHoklch(41.78% 0.174 318.7)
XYZxyz(11.7273, 6.1578, 23.4878)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721C87 #31871C
analogous
#3C1C87 #721C87 #871C67
triadic
#721C87 #87721C #1C8772
tetradic
#721C87 #873C1C #31871C #1C6787
square
#721C87 #873C1C #31871C #1C6787
split-complementary
#721C87 #67871C #1C873C
monochromatic
#1C0722 #471154 #721C87 #9D27BA #BB45D8

Accessibility & contrast

On white

9.41
#721C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#721C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721C87
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721C87#FFFFFF#000000##FFFFFF
##721C871.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#723351
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #721c87;
/* rgb */ color: rgb(114, 28, 135);
/* oklch */ color: oklch(41.8% 0.174 318.7);
Tailwind
colors: {
  custom: {
    50: '#9e63ab',
    500: '#721c87',
    950: '#000000',
  },
}
SCSS
$custom: #721c87;
$custom-light: #9e63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#721c87",
  "rgb": {
    "r": 114,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 288.224,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41779,
    "c": 0.17449,
    "h": 318.7
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#721C87
secondary
#5CBA45
accent
#E93F60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721C87

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

Preview Lab → · Contrast checker → · Palette generator →

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