#7224A8#7224A8

#7224A8 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.197 H 306.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7224A8
RGBrgb(114, 36, 168)
HSLhsl(275, 65%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(32.1%, 78.6%, 0%, 34.1%)
CIE-LABlab(33.28, 55.59, -55.54)
CIE-LCHlch(33.28, 78.58, 315.03°)
OKLaboklab(45% 0.1177 -0.158)
OKLCHoklch(45% 0.197 306.7)
XYZxyz(14.6366, 7.6665, 37.7469)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224A8 #5AA824
analogous
#3024A8 #7224A8 #A8249C
triadic
#7224A8 #A87224 #24A872
tetradic
#7224A8 #A83024 #5AA824 #249CA8
square
#7224A8 #A83024 #5AA824 #249CA8
split-complementary
#7224A8 #9CA824 #24A830
monochromatic
#2E0E43 #501976 #7224A8 #9335D4 #AE68DF

Accessibility & contrast

On white

8.29
#7224A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7224A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7224A8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7224A8#FFFFFF#000000##FFFFFF
##7224A81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#694666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7224a8;
/* rgb */ color: rgb(114, 36, 168);
/* oklch */ color: oklch(45.0% 0.197 306.7);
Tailwind
colors: {
  custom: {
    50: '#a068c3',
    500: '#7224a8',
    950: '#000000',
  },
}
SCSS
$custom: #7224a8;
$custom-light: #a068c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7224a8",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 275.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.45001,
    "c": 0.19702,
    "h": 306.7
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#7224A8
secondary
#8BC463
accent
#E84085
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7224A8

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

Preview Lab → · Contrast checker → · Palette generator →

#7224A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva