#7221BE#7221BE

#7221BE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.221 H 301.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7221BE
RGBrgb(114, 33, 190)
HSLhsl(271, 70%, 44%)
HSVhsv(271, 83%, 75%)
CMYKcmyk(40%, 82.6%, 0%, 25.5%)
CIE-LABlab(34.77, 61.64, -66.19)
CIE-LCHlch(34.77, 90.45, 312.96°)
OKLaboklab(46.61% 0.1137 -0.1893)
OKLCHoklch(46.61% 0.221 301)
XYZxyz(16.7752, 8.3827, 49.4394)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221BE #6DBE21
analogous
#2321BE #7221BE #BE21BB
triadic
#7221BE #BE7221 #21BE72
tetradic
#7221BE #BE2321 #6DBE21 #21BBBE
square
#7221BE #BE2321 #6DBE21 #21BBBE
split-complementary
#7221BE #BBBE21 #21BE23
monochromatic
#330F56 #53188A #7221BE #913FDE #AF73E7

Accessibility & contrast

On white

7.85
#7221BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7221BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221BE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221BE#FFFFFF#000000##FFFFFF
##7221BE1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#604E72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7221be;
/* rgb */ color: rgb(114, 33, 190);
/* oklch */ color: oklch(46.6% 0.221 301.0);
Tailwind
colors: {
  custom: {
    50: '#a268d3',
    500: '#7221be',
    950: '#000000',
  },
}
SCSS
$custom: #7221be;
$custom-light: #a268d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7221be",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 190
  },
  "hsl": {
    "h": 270.955,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.22077,
    "h": 301
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#7221BE
secondary
#9CCD6D
accent
#ED3B91
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7221BE

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

Preview Lab → · Contrast checker → · Palette generator →

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