#7A24A3#7A24A3

#7A24A3 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.195 H 311.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7A24A3
RGBrgb(122, 36, 163)
HSLhsl(281, 64%, 39%)
HSVhsv(281, 78%, 64%)
CMYKcmyk(25.2%, 77.9%, 0%, 36.1%)
CIE-LABlab(34.07, 55.95, -51.18)
CIE-LCHlch(34.07, 75.83, 317.55°)
OKLaboklab(45.68% 0.1298 -0.1449)
OKLCHoklch(45.68% 0.195 311.8)
XYZxyz(15.2665, 8.0441, 35.3917)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A3 #4DA324
analogous
#3B24A3 #7A24A3 #A3248D
triadic
#7A24A3 #A37A24 #24A37A
tetradic
#7A24A3 #A33B24 #4DA324 #248DA3
square
#7A24A3 #A33B24 #4DA324 #248DA3
split-complementary
#7A24A3 #8DA324 #24A33B
monochromatic
#2F0E3F #541971 #7A24A3 #9E32D2 #B665DD

Accessibility & contrast

On white

8.05
#7A24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24A3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A3#FFFFFF#000000##FFFFFF
##7A24A31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#754263
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a24a3;
/* rgb */ color: rgb(122, 36, 163);
/* oklch */ color: oklch(45.7% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#a569bf',
    500: '#7a24a3',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a3;
$custom-light: #a569bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a3",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 280.63,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.19453,
    "h": 311.8
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#7A24A3
secondary
#80C260
accent
#E74177
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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