#7224A2#7224A2

#7224A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.191 H 308.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7224A2
RGBrgb(114, 36, 162)
HSLhsl(277, 64%, 39%)
HSVhsv(277, 78%, 64%)
CMYKcmyk(29.6%, 77.8%, 0%, 36.5%)
CIE-LABlab(32.81, 54.26, -52.69)
CIE-LCHlch(32.81, 75.63, 315.84°)
OKLaboklab(44.52% 0.1191 -0.1496)
OKLCHoklch(44.52% 0.191 308.5)
XYZxyz(14.0905, 7.4480, 34.8707)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7224A2 #54A224
analogous
#3324A2 #7224A2 #A22493
triadic
#7224A2 #A27224 #24A272
tetradic
#7224A2 #A23324 #54A224 #2493A2
square
#7224A2 #A23324 #54A224 #2493A2
split-complementary
#7224A2 #93A224 #24A233
monochromatic
#2C0E3E #4F1970 #7224A2 #9532D1 #AF64DD

Accessibility & contrast

On white

8.44
#7224A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7224A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7224A2#FFFFFF#000000##FFFFFF
##7224A21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#6A4362
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7224a2;
/* rgb */ color: rgb(114, 36, 162);
/* oklch */ color: oklch(44.5% 0.191 308.5);
Tailwind
colors: {
  custom: {
    50: '#9f68be',
    500: '#7224a2',
    950: '#000000',
  },
}
SCSS
$custom: #7224a2;
$custom-light: #9f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#7224a2",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 277.143,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.19123,
    "h": 308.5
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#7224A2
secondary
#85C260
accent
#E74180
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7224A2

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

Preview Lab → · Contrast checker → · Palette generator →

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