#7A24A4#7A24A4

#7A24A4 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 311.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7A24A4
RGBrgb(122, 36, 164)
HSLhsl(280, 64%, 39%)
HSVhsv(280, 78%, 64%)
CMYKcmyk(25.6%, 78%, 0%, 35.7%)
CIE-LABlab(34.15, 56.17, -51.66)
CIE-LCHlch(34.15, 76.31, 317.39°)
OKLaboklab(45.76% 0.1296 -0.1463)
OKLCHoklch(45.76% 0.195 311.5)
XYZxyz(15.3565, 8.0801, 35.8654)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A4 #4EA424
analogous
#3A24A4 #7A24A4 #A4248E
triadic
#7A24A4 #A47A24 #24A47A
tetradic
#7A24A4 #A43A24 #4EA424 #248EA4
square
#7A24A4 #A43A24 #4EA424 #248EA4
split-complementary
#7A24A4 #8EA424 #24A43A
monochromatic
#2F0E40 #551972 #7A24A4 #9E33D2 #B665DD

Accessibility & contrast

On white

8.03
#7A24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24A4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A4#FFFFFF#000000##FFFFFF
##7A24A41.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0752A1
Tritanopia (blue-blind)
#754363
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a24a4;
/* rgb */ color: rgb(122, 36, 164);
/* oklch */ color: oklch(45.8% 0.195 311.5);
Tailwind
colors: {
  custom: {
    50: '#a569c0',
    500: '#7a24a4',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a4;
$custom-light: #a569c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a4",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 280.313,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.19546,
    "h": 311.5
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#7A24A4
secondary
#81C361
accent
#E74177
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A24A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7A24A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva