#7221BD#7221BD

#7221BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.220 H 301.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7221BD
RGBrgb(114, 33, 189)
HSLhsl(271, 70%, 44%)
HSVhsv(271, 83%, 74%)
CMYKcmyk(39.7%, 82.5%, 0%, 25.9%)
CIE-LABlab(34.68, 61.41, -65.75)
CIE-LCHlch(34.68, 89.97, 313.05°)
OKLaboklab(46.52% 0.114 -0.188)
OKLCHoklch(46.52% 0.22 301.2)
XYZxyz(16.6663, 8.3391, 48.8658)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221BD #6CBD21
analogous
#2421BD #7221BD #BD21BA
triadic
#7221BD #BD7221 #21BD72
tetradic
#7221BD #BD2421 #6CBD21 #21BABD
square
#7221BD #BD2421 #6CBD21 #21BABD
split-complementary
#7221BD #BABD21 #21BD24
monochromatic
#330F55 #531889 #7221BD #913EDD #AE72E6

Accessibility & contrast

On white

7.87
#7221BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7221BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221BD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221BD#FFFFFF#000000##FFFFFF
##7221BD1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#614E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7221bd;
/* rgb */ color: rgb(114, 33, 189);
/* oklch */ color: oklch(46.5% 0.220 301.2);
Tailwind
colors: {
  custom: {
    50: '#a268d2',
    500: '#7221bd',
    950: '#000000',
  },
}
SCSS
$custom: #7221bd;
$custom-light: #a268d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7221bd",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 271.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.21982,
    "h": 301.2
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#7221BD
secondary
#9BCD6D
accent
#ED3B90
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7221BD

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

Preview Lab → · Contrast checker → · Palette generator →

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