#7C24C5#7C24C5

#7C24C5 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.7% C 0.227 H 303.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7C24C5
RGBrgb(124, 36, 197)
HSLhsl(273, 69%, 46%)
HSVhsv(273, 82%, 77%)
CMYKcmyk(37.1%, 81.7%, 0%, 22.7%)
CIE-LABlab(37.07, 63.68, -66.47)
CIE-LCHlch(37.07, 92.05, 313.77°)
OKLaboklab(48.68% 0.1239 -0.1898)
OKLCHoklch(48.68% 0.227 303.1)
XYZxyz(19.0187, 9.5780, 53.6593)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24C5 #6DC524
analogous
#2B24C5 #7C24C5 #C524BD
triadic
#7C24C5 #C57C24 #24C57C
tetradic
#7C24C5 #C52B24 #6DC524 #24BDC5
square
#7C24C5 #C52B24 #6DC524 #24BDC5
split-complementary
#7C24C5 #BDC524 #24C52B
monochromatic
#3B115E #5B1B91 #7C24C5 #9A49DE #B77CE7

Accessibility & contrast

On white

7.20
#7C24C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7C24C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24C5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24C5#FFFFFF#000000##FFFFFF
##7C24C51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c24c5;
/* rgb */ color: rgb(124, 36, 197);
/* oklch */ color: oklch(48.7% 0.227 303.1);
Tailwind
colors: {
  custom: {
    50: '#a96bd8',
    500: '#7c24c5',
    950: '#000000',
  },
}
SCSS
$custom: #7c24c5;
$custom-light: #a96bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24c5",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 272.795,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.22666,
    "h": 303.1
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#7C24C5
secondary
#9ECF76
accent
#EC3C8C
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110715
muted
#807A83

Preview Lab

Preview with #7C24C5

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

Preview Lab → · Contrast checker → · Palette generator →

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