#7C24A9#7C24A9

#7C24A9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 310.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7C24A9
RGBrgb(124, 36, 169)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 66%)
CMYKcmyk(26.6%, 78.7%, 0%, 33.7%)
CIE-LABlab(34.83, 57.59, -53.55)
CIE-LCHlch(34.83, 78.64, 317.08°)
OKLaboklab(46.42% 0.1312 -0.1518)
OKLCHoklch(46.42% 0.201 310.8)
XYZxyz(16.1031, 8.4118, 38.3038)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24A9 #51A924
analogous
#3924A9 #7C24A9 #A92494
triadic
#7C24A9 #A97C24 #24A97C
tetradic
#7C24A9 #A93924 #51A924 #2494A9
square
#7C24A9 #A93924 #51A924 #2494A9
split-complementary
#7C24A9 #94A924 #24A939
monochromatic
#320F44 #571977 #7C24A9 #9F36D4 #B768DF

Accessibility & contrast

On white

7.83
#7C24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7C24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24A9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24A9#FFFFFF#000000##FFFFFF
##7C24A91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#764566
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c24a9;
/* rgb */ color: rgb(124, 36, 169);
/* oklch */ color: oklch(46.4% 0.201 310.8);
Tailwind
colors: {
  custom: {
    50: '#a769c3',
    500: '#7c24a9',
    950: '#000000',
  },
}
SCSS
$custom: #7c24a9;
$custom-light: #a769c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24a9",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 279.699,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.20069,
    "h": 310.8
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#7C24A9
secondary
#85C564
accent
#E84079
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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