#7C24A8#7C24A8

#7C24A8 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.200 H 311.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7C24A8
RGBrgb(124, 36, 168)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 66%)
CMYKcmyk(26.2%, 78.6%, 0%, 34.1%)
CIE-LABlab(34.75, 57.38, -53.08)
CIE-LCHlch(34.75, 78.16, 317.23°)
OKLaboklab(46.34% 0.1315 -0.1504)
OKLCHoklch(46.34% 0.2 311.1)
XYZxyz(16.0096, 8.3744, 37.8113)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24A8 #50A824
analogous
#3A24A8 #7C24A8 #A82492
triadic
#7C24A8 #A87C24 #24A87C
tetradic
#7C24A8 #A83A24 #50A824 #2492A8
square
#7C24A8 #A83A24 #50A824 #2492A8
split-complementary
#7C24A8 #92A824 #24A83A
monochromatic
#320E43 #571976 #7C24A8 #9F35D4 #B768DF

Accessibility & contrast

On white

7.85
#7C24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24A8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24A8#FFFFFF#000000##FFFFFF
##7C24A81.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#764466
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c24a8;
/* rgb */ color: rgb(124, 36, 168);
/* oklch */ color: oklch(46.3% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#a769c3',
    500: '#7c24a8',
    950: '#000000',
  },
}
SCSS
$custom: #7c24a8;
$custom-light: #a769c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24a8",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 280,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.19977,
    "h": 311.1
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#7C24A8
secondary
#84C463
accent
#E84078
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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