#7224AA#7224AA

#7224AA is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.2% C 0.199 H 306.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7224AA
RGBrgb(114, 36, 170)
HSLhsl(275, 65%, 40%)
HSVhsv(275, 79%, 67%)
CMYKcmyk(32.9%, 78.8%, 0%, 33.3%)
CIE-LABlab(33.44, 56.04, -56.48)
CIE-LCHlch(33.44, 79.56, 314.78°)
OKLaboklab(45.16% 0.1172 -0.1608)
OKLCHoklch(45.16% 0.199 306.1)
XYZxyz(14.8244, 7.7416, 38.7357)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224AA #5CAA24
analogous
#2F24AA #7224AA #AA249F
triadic
#7224AA #AA7224 #24AA72
tetradic
#7224AA #AA2F24 #5CAA24 #249FAA
square
#7224AA #AA2F24 #5CAA24 #249FAA
split-complementary
#7224AA #9FAA24 #24AA2F
monochromatic
#2E0F45 #501977 #7224AA #9337D5 #AE69DF

Accessibility & contrast

On white

8.24
#7224AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7224AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7224AA#FFFFFF#000000##FFFFFF
##7224AA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#684767
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7224aa;
/* rgb */ color: rgb(114, 36, 170);
/* oklch */ color: oklch(45.2% 0.199 306.1);
Tailwind
colors: {
  custom: {
    50: '#a068c4',
    500: '#7224aa',
    950: '#000000',
  },
}
SCSS
$custom: #7224aa;
$custom-light: #a068c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7224aa",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 274.925,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.19895,
    "h": 306.1
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#7224AA
secondary
#8DC565
accent
#E84086
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7224AA

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

Preview Lab → · Contrast checker → · Palette generator →

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