#7221B0#7221B0

#7221B0 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.207 H 304.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7221B0
RGBrgb(114, 33, 176)
HSLhsl(274, 68%, 41%)
HSVhsv(274, 81%, 69%)
CMYKcmyk(35.2%, 81.3%, 0%, 31%)
CIE-LABlab(33.56, 58.47, -59.86)
CIE-LCHlch(33.56, 83.68, 314.32°)
OKLaboklab(45.4% 0.118 -0.1707)
OKLCHoklch(45.4% 0.207 304.6)
XYZxyz(15.3180, 7.7998, 41.7644)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221B0 #5FB021
analogous
#2A21B0 #7221B0 #B021A6
triadic
#7221B0 #B07221 #21B072
tetradic
#7221B0 #B02A21 #5FB021 #21A6B0
square
#7221B0 #B02A21 #5FB021 #21A6B0
split-complementary
#7221B0 #A6B021 #21B02A
monochromatic
#2F0E49 #51177C #7221B0 #9235D9 #AE69E3

Accessibility & contrast

On white

8.20
#7221B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7221B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221B0
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221B0#FFFFFF#000000##FFFFFF
##7221B01.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#66486A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7221b0;
/* rgb */ color: rgb(114, 33, 176);
/* oklch */ color: oklch(45.4% 0.207 304.6);
Tailwind
colors: {
  custom: {
    50: '#a167c9',
    500: '#7221b0',
    950: '#000000',
  },
}
SCSS
$custom: #7221b0;
$custom-light: #a167c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7221b0",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 273.986,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.20749,
    "h": 304.6
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#7221B0
secondary
#90C864
accent
#EB3D88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7221B0

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

Preview Lab → · Contrast checker → · Palette generator →

#7221B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva