#7221B3#7221B3

#7221B3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.210 H 303.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7221B3
RGBrgb(114, 33, 179)
HSLhsl(273, 69%, 42%)
HSVhsv(273, 82%, 70%)
CMYKcmyk(36.3%, 81.6%, 0%, 29.8%)
CIE-LABlab(33.82, 59.14, -61.24)
CIE-LCHlch(33.82, 85.13, 314.00°)
OKLaboklab(45.66% 0.1171 -0.1747)
OKLCHoklch(45.66% 0.21 303.8)
XYZxyz(15.6181, 7.9198, 43.3450)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221B3 #62B321
analogous
#2921B3 #7221B3 #B321AB
triadic
#7221B3 #B37221 #21B372
tetradic
#7221B3 #B32921 #62B321 #21ABB3
square
#7221B3 #B32921 #62B321 #21ABB3
split-complementary
#7221B3 #ABB321 #21B329
monochromatic
#300E4C #51177F #7221B3 #9237DA #AE6BE4

Accessibility & contrast

On white

8.13
#7221B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7221B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221B3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221B3#FFFFFF#000000##FFFFFF
##7221B31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7221b3;
/* rgb */ color: rgb(114, 33, 179);
/* oklch */ color: oklch(45.7% 0.210 303.8);
Tailwind
colors: {
  custom: {
    50: '#a167cb',
    500: '#7221b3',
    950: '#000000',
  },
}
SCSS
$custom: #7221b3;
$custom-light: #a167cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7221b3",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 273.288,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.21032,
    "h": 303.8
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#7221B3
secondary
#92CA66
accent
#EC3C8A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7221B3

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

Preview Lab → · Contrast checker → · Palette generator →

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