#7A24C5#7A24C5

#7A24C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.226 H 302.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7A24C5
RGBrgb(122, 36, 197)
HSLhsl(272, 69%, 46%)
HSVhsv(272, 82%, 77%)
CMYKcmyk(38.1%, 81.7%, 0%, 22.7%)
CIE-LABlab(36.80, 63.39, -66.93)
CIE-LCHlch(36.80, 92.18, 313.44°)
OKLaboklab(48.43% 0.1211 -0.1912)
OKLCHoklch(48.43% 0.226 302.3)
XYZxyz(18.7325, 9.4305, 53.6459)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24C5 #6FC524
analogous
#2A24C5 #7A24C5 #C524BF
triadic
#7A24C5 #C57A24 #24C57A
tetradic
#7A24C5 #C52A24 #6FC524 #24BFC5
square
#7A24C5 #C52A24 #6FC524 #24BFC5
split-complementary
#7A24C5 #BFC524 #24C52A
monochromatic
#3A115E #5A1B91 #7A24C5 #9849DE #B57CE7

Accessibility & contrast

On white

7.28
#7A24C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7A24C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24C5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24C5#FFFFFF#000000##FFFFFF
##7A24C51.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#6A5276
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a24c5;
/* rgb */ color: rgb(122, 36, 197);
/* oklch */ color: oklch(48.4% 0.226 302.3);
Tailwind
colors: {
  custom: {
    50: '#a86bd8',
    500: '#7a24c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a24c5;
$custom-light: #a86bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24c5",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 272.05,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.22629,
    "h": 302.3
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#7A24C5
secondary
#9FCF76
accent
#EC3C8E
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110715
muted
#807A83

Preview Lab

Preview with #7A24C5

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

Preview Lab → · Contrast checker → · Palette generator →

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