#721EB3#721EB3

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

Color values

HEX#721EB3
RGBrgb(114, 30, 179)
HSLhsl(274, 71%, 41%)
HSVhsv(274, 83%, 70%)
CMYKcmyk(36.3%, 83.2%, 0%, 29.8%)
CIE-LABlab(33.48, 60.12, -61.79)
CIE-LCHlch(33.48, 86.21, 314.22°)
OKLaboklab(45.42% 0.1192 -0.1763)
OKLCHoklch(45.42% 0.213 304.1)
XYZxyz(15.5385, 7.7607, 43.3184)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721EB3 #5FB31E
analogous
#281EB3 #721EB3 #B31EA9
triadic
#721EB3 #B3721E #1EB372
tetradic
#721EB3 #B3281E #5FB31E #1EA9B3
square
#721EB3 #B3281E #5FB31E #1EA9B3
split-complementary
#721EB3 #A9B31E #1EB328
monochromatic
#2F0C4A #51157F #721EB3 #9232DD #AE66E5

Accessibility & contrast

On white

8.23
#721EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#721EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721EB3
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721EB3#FFFFFF#000000##FFFFFF
##721EB31.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #721eb3;
/* rgb */ color: rgb(114, 30, 179);
/* oklch */ color: oklch(45.4% 0.213 304.1);
Tailwind
colors: {
  custom: {
    50: '#a166cb',
    500: '#721eb3',
    950: '#000000',
  },
}
SCSS
$custom: #721eb3;
$custom-light: #a166cb;
$custom-dark: #000000;
JSON
{
  "hex": "#721eb3",
  "rgb": {
    "r": 114,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 273.826,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.21281,
    "h": 304.1
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#721EB3
secondary
#90CB62
accent
#EE3A88
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #721EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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