#7221AF#7221AF

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

Color values

HEX#7221AF
RGBrgb(114, 33, 175)
HSLhsl(274, 68%, 41%)
HSVhsv(274, 81%, 69%)
CMYKcmyk(34.9%, 81.1%, 0%, 31.4%)
CIE-LABlab(33.48, 58.24, -59.40)
CIE-LCHlch(33.48, 83.19, 314.43°)
OKLaboklab(45.32% 0.1182 -0.1693)
OKLCHoklch(45.32% 0.207 304.9)
XYZxyz(15.2194, 7.7603, 41.2452)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221AF #5EAF21
analogous
#2B21AF #7221AF #AF21A5
triadic
#7221AF #AF7221 #21AF72
tetradic
#7221AF #AF2B21 #5EAF21 #21A5AF
square
#7221AF #AF2B21 #5EAF21 #21A5AF
split-complementary
#7221AF #A5AF21 #21AF2B
monochromatic
#2F0E48 #50177C #7221AF #9234D9 #AE68E3

Accessibility & contrast

On white

8.23
#7221AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7221AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221AF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221AF#FFFFFF#000000##FFFFFF
##7221AF1.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)
#004DB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#664869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7221af;
/* rgb */ color: rgb(114, 33, 175);
/* oklch */ color: oklch(45.3% 0.207 304.9);
Tailwind
colors: {
  custom: {
    50: '#a167c8',
    500: '#7221af',
    950: '#000000',
  },
}
SCSS
$custom: #7221af;
$custom-light: #a167c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7221af",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 274.225,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45318,
    "c": 0.20654,
    "h": 304.9
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#7221AF
secondary
#8FC864
accent
#EB3D88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7221AF

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

Preview Lab → · Contrast checker → · Palette generator →

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