#7C24AF#7C24AF

#7C24AF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.206 H 309.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7C24AF
RGBrgb(124, 36, 175)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 79%, 69%)
CMYKcmyk(29.1%, 79.4%, 0%, 31.4%)
CIE-LABlab(35.29, 58.87, -56.40)
CIE-LCHlch(35.29, 81.52, 316.23°)
OKLaboklab(46.88% 0.1299 -0.1602)
OKLCHoklch(46.88% 0.206 309)
XYZxyz(16.6793, 8.6423, 41.3386)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24AF #57AF24
analogous
#3724AF #7C24AF #AF249D
triadic
#7C24AF #AF7C24 #24AF7C
tetradic
#7C24AF #AF3724 #57AF24 #249DAF
square
#7C24AF #AF3724 #57AF24 #249DAF
split-complementary
#7C24AF #9DAF24 #24AF37
monochromatic
#340F49 #581A7C #7C24AF #9D3AD6 #B66DE1

Accessibility & contrast

On white

7.70
#7C24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7C24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24AF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24AF#FFFFFF#000000##FFFFFF
##7C24AF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#74476A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c24af;
/* rgb */ color: rgb(124, 36, 175);
/* oklch */ color: oklch(46.9% 0.206 309.0);
Tailwind
colors: {
  custom: {
    50: '#a76ac8',
    500: '#7c24af',
    950: '#000000',
  },
}
SCSS
$custom: #7c24af;
$custom-light: #a76ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24af",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 277.986,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.20623,
    "h": 309
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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