#7224AD#7224AD

#7224AD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.202 H 305.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7224AD
RGBrgb(114, 36, 173)
HSLhsl(274, 66%, 41%)
HSVhsv(274, 79%, 68%)
CMYKcmyk(34.1%, 79.2%, 0%, 32.2%)
CIE-LABlab(33.68, 56.72, -57.88)
CIE-LCHlch(33.68, 81.04, 314.42°)
OKLaboklab(45.41% 0.1165 -0.1649)
OKLCHoklch(45.41% 0.202 305.2)
XYZxyz(15.1114, 7.8564, 40.2474)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224AD #5FAD24
analogous
#2E24AD #7224AD #AD24A3
triadic
#7224AD #AD7224 #24AD72
tetradic
#7224AD #AD2E24 #5FAD24 #24A3AD
square
#7224AD #AD2E24 #5FAD24 #24A3AD
split-complementary
#7224AD #A3AD24 #24AD2E
monochromatic
#2F0F48 #51197A #7224AD #9239D6 #AE6BE0

Accessibility & contrast

On white

8.17
#7224AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7224AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7224AD#FFFFFF#000000##FFFFFF
##7224AD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#674869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7224ad;
/* rgb */ color: rgb(114, 36, 173);
/* oklch */ color: oklch(45.4% 0.202 305.2);
Tailwind
colors: {
  custom: {
    50: '#a068c6',
    500: '#7224ad',
    950: '#000000',
  },
}
SCSS
$custom: #7224ad;
$custom-light: #a068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7224ad",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 274.161,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.20186,
    "h": 305.2
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#7224AD
secondary
#90C666
accent
#E93F88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7224AD

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

Preview Lab → · Contrast checker → · Palette generator →

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