#7A24A0#7A24A0

#7A24A0 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.192 H 312.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7A24A0
RGBrgb(122, 36, 160)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 78%, 63%)
CMYKcmyk(23.7%, 77.5%, 0%, 37.3%)
CIE-LABlab(33.85, 55.32, -49.72)
CIE-LCHlch(33.85, 74.38, 318.05°)
OKLaboklab(45.46% 0.1303 -0.1406)
OKLCHoklch(45.46% 0.192 312.8)
XYZxyz(15.0009, 7.9378, 33.9928)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A0 #4AA024
analogous
#3C24A0 #7A24A0 #A02488
triadic
#7A24A0 #A07A24 #24A07A
tetradic
#7A24A0 #A03C24 #4AA024 #2488A0
square
#7A24A0 #A03C24 #4AA024 #2488A0
split-complementary
#7A24A0 #88A024 #24A03C
monochromatic
#2E0E3C #54196E #7A24A0 #A031D1 #B763DC

Accessibility & contrast

On white

8.12
#7A24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24A0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A0#FFFFFF#000000##FFFFFF
##7A24A01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#764161
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a24a0;
/* rgb */ color: rgb(122, 36, 160);
/* oklch */ color: oklch(45.5% 0.192 312.8);
Tailwind
colors: {
  custom: {
    50: '#a569bd',
    500: '#7a24a0',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a0;
$custom-light: #a569bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a0",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 281.613,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.19175,
    "h": 312.8
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#7A24A0
secondary
#7DC15F
accent
#E64174
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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