#7A24AA#7A24AA

#7A24AA is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.201 H 309.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7A24AA
RGBrgb(122, 36, 170)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 67%)
CMYKcmyk(28.2%, 78.8%, 0%, 33.3%)
CIE-LABlab(34.60, 57.45, -54.53)
CIE-LCHlch(34.60, 79.20, 316.49°)
OKLaboklab(46.22% 0.1283 -0.1548)
OKLCHoklch(46.22% 0.201 309.7)
XYZxyz(15.9112, 8.3019, 38.7867)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24AA #54AA24
analogous
#3724AA #7A24AA #AA2497
triadic
#7A24AA #AA7A24 #24AA7A
tetradic
#7A24AA #AA3724 #54AA24 #2497AA
square
#7A24AA #AA3724 #54AA24 #2497AA
split-complementary
#7A24AA #97AA24 #24AA37
monochromatic
#320F45 #561977 #7A24AA #9C37D5 #B569DF

Accessibility & contrast

On white

7.89
#7A24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7A24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24AA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24AA#FFFFFF#000000##FFFFFF
##7A24AA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#734667
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a24aa;
/* rgb */ color: rgb(122, 36, 170);
/* oklch */ color: oklch(46.2% 0.201 309.7);
Tailwind
colors: {
  custom: {
    50: '#a569c4',
    500: '#7a24aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a24aa;
$custom-light: #a569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24aa",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 278.507,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.20104,
    "h": 309.7
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#7A24AA
secondary
#87C565
accent
#E8407C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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