#721BB3#721BB3

#721BB3 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.2% C 0.215 H 304.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#721BB3
RGBrgb(114, 27, 179)
HSLhsl(274, 74%, 40%)
HSVhsv(274, 85%, 70%)
CMYKcmyk(36.3%, 84.9%, 0%, 29.8%)
CIE-LABlab(33.17, 61.03, -62.29)
CIE-LCHlch(33.17, 87.21, 314.41°)
OKLaboklab(45.21% 0.1211 -0.1778)
OKLCHoklch(45.21% 0.215 304.3)
XYZxyz(15.4662, 7.6160, 43.2943)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721BB3 #5CB31B
analogous
#261BB3 #721BB3 #B31BA8
triadic
#721BB3 #B3721B #1BB372
tetradic
#721BB3 #B3261B #5CB31B #1BA8B3
square
#721BB3 #B3261B #5CB31B #1BA8B3
split-complementary
#721BB3 #A8B31B #1BB326
monochromatic
#2E0B49 #50137E #721BB3 #932CDF #AE61E7

Accessibility & contrast

On white

8.32
#721BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#721BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721BB3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721BB3#FFFFFF#000000##FFFFFF
##721BB31.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#65476A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #721bb3;
/* rgb */ color: rgb(114, 27, 179);
/* oklch */ color: oklch(45.2% 0.215 304.3);
Tailwind
colors: {
  custom: {
    50: '#a165cb',
    500: '#721bb3',
    950: '#000000',
  },
}
SCSS
$custom: #721bb3;
$custom-light: #a165cb;
$custom-dark: #000000;
JSON
{
  "hex": "#721bb3",
  "rgb": {
    "r": 114,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 274.342,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4521,
    "c": 0.2151,
    "h": 304.3
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#721BB3
secondary
#8DCC5E
accent
#F03787
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #721BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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