#7A24A5#7A24A5

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

Color values

HEX#7A24A5
RGBrgb(122, 36, 165)
HSLhsl(280, 64%, 39%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(26.1%, 78.2%, 0%, 35.3%)
CIE-LABlab(34.22, 56.38, -52.14)
CIE-LCHlch(34.22, 76.79, 317.24°)
OKLaboklab(45.84% 0.1294 -0.1477)
OKLCHoklch(45.84% 0.196 311.2)
XYZxyz(15.4472, 8.1163, 36.3429)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A5 #4FA524
analogous
#3A24A5 #7A24A5 #A52490
triadic
#7A24A5 #A57A24 #24A57A
tetradic
#7A24A5 #A53A24 #4FA524 #2490A5
square
#7A24A5 #A53A24 #4FA524 #2490A5
split-complementary
#7A24A5 #90A524 #24A53A
monochromatic
#300E41 #551973 #7A24A5 #9E34D3 #B666DE

Accessibility & contrast

On white

8.01
#7A24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A24A5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A5#FFFFFF#000000##FFFFFF
##7A24A51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0352A2
Tritanopia (blue-blind)
#744364
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a24a5;
/* rgb */ color: rgb(122, 36, 165);
/* oklch */ color: oklch(45.8% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#a569c0',
    500: '#7a24a5',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a5;
$custom-light: #a569c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a5",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 280,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.19639,
    "h": 311.2
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#7A24A5
secondary
#82C362
accent
#E74178
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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