#7A24A2#7A24A2

#7A24A2 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 312.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7A24A2
RGBrgb(122, 36, 162)
HSLhsl(281, 64%, 39%)
HSVhsv(281, 78%, 64%)
CMYKcmyk(24.7%, 77.8%, 0%, 36.5%)
CIE-LABlab(34.00, 55.74, -50.69)
CIE-LCHlch(34.00, 75.35, 317.72°)
OKLaboklab(45.61% 0.13 -0.1435)
OKLCHoklch(45.61% 0.194 312.2)
XYZxyz(15.1773, 8.0084, 34.9217)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A2 #4CA224
analogous
#3B24A2 #7A24A2 #A2248B
triadic
#7A24A2 #A27A24 #24A27A
tetradic
#7A24A2 #A23B24 #4CA224 #248BA2
square
#7A24A2 #A23B24 #4CA224 #248BA2
split-complementary
#7A24A2 #8BA224 #24A23B
monochromatic
#2F0E3E #541970 #7A24A2 #9F32D1 #B664DD

Accessibility & contrast

On white

8.07
#7A24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7A24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24A2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A2#FFFFFF#000000##FFFFFF
##7A24A21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0E529F
Tritanopia (blue-blind)
#754262
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a24a2;
/* rgb */ color: rgb(122, 36, 162);
/* oklch */ color: oklch(45.6% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#a569be',
    500: '#7a24a2',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a2;
$custom-light: #a569be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a2",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 280.952,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.1936,
    "h": 312.2
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#7A24A2
secondary
#7FC260
accent
#E74176
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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