#721B87#721B87

#721B87 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.175 H 318.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#721B87
RGBrgb(114, 27, 135)
HSLhsl(288, 67%, 32%)
HSVhsv(288, 80%, 53%)
CMYKcmyk(15.6%, 80%, 0%, 47.1%)
CIE-LABlab(29.69, 51.81, -41.16)
CIE-LCHlch(29.69, 66.17, 321.54°)
OKLaboklab(41.7% 0.132 -0.1157)
OKLCHoklch(41.7% 0.176 318.8)
XYZxyz(11.7039, 6.1111, 23.4800)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721B87 #30871B
analogous
#3C1B87 #721B87 #871B66
triadic
#721B87 #87721B #1B8772
tetradic
#721B87 #873C1B #30871B #1B6687
square
#721B87 #873C1B #30871B #1B6687
split-complementary
#721B87 #66871B #1B873C
monochromatic
#1C0721 #471154 #721B87 #9D25BA #BC43D9

Accessibility & contrast

On white

9.45
#721B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#721B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721B87
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721B87#FFFFFF#000000##FFFFFF
##721B871.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #721b87;
/* rgb */ color: rgb(114, 27, 135);
/* oklch */ color: oklch(41.7% 0.175 318.8);
Tailwind
colors: {
  custom: {
    50: '#9e63ab',
    500: '#721b87',
    950: '#000000',
  },
}
SCSS
$custom: #721b87;
$custom-light: #9e63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#721b87",
  "rgb": {
    "r": 114,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 288.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.1755,
    "h": 318.8
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#721B87
secondary
#5BBA44
accent
#EA3E60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721B87

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

Preview Lab → · Contrast checker → · Palette generator →

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