#7C24AE#7C24AE

#7C24AE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.205 H 309.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7C24AE
RGBrgb(124, 36, 174)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 79%, 68%)
CMYKcmyk(28.7%, 79.3%, 0%, 31.8%)
CIE-LABlab(35.21, 58.65, -55.92)
CIE-LCHlch(35.21, 81.04, 316.36°)
OKLaboklab(46.8% 0.1301 -0.1588)
OKLCHoklch(46.8% 0.205 309.3)
XYZxyz(16.5815, 8.6032, 40.8233)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24AE #56AE24
analogous
#3724AE #7C24AE #AE249B
triadic
#7C24AE #AE7C24 #24AE7C
tetradic
#7C24AE #AE3724 #56AE24 #249BAE
square
#7C24AE #AE3724 #56AE24 #249BAE
split-complementary
#7C24AE #9BAE24 #24AE37
monochromatic
#340F49 #581A7B #7C24AE #9D39D6 #B66CE1

Accessibility & contrast

On white

7.72
#7C24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7C24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24AE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24AE#FFFFFF#000000##FFFFFF
##7C24AE1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#744769
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c24ae;
/* rgb */ color: rgb(124, 36, 174);
/* oklch */ color: oklch(46.8% 0.205 309.3);
Tailwind
colors: {
  custom: {
    50: '#a76ac7',
    500: '#7c24ae',
    950: '#000000',
  },
}
SCSS
$custom: #7c24ae;
$custom-light: #a76ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24ae",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 278.261,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46803,
    "c": 0.20531,
    "h": 309.3
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#7C24AE
secondary
#8AC767
accent
#E93F7D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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