#7C24A3#7C24A3

#7C24A3 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.195 H 312.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7C24A3
RGBrgb(124, 36, 163)
HSLhsl(282, 64%, 39%)
HSVhsv(282, 78%, 64%)
CMYKcmyk(23.9%, 77.9%, 0%, 36.1%)
CIE-LABlab(34.38, 56.33, -50.67)
CIE-LCHlch(34.38, 75.77, 318.03°)
OKLaboklab(45.96% 0.1324 -0.1433)
OKLCHoklch(45.96% 0.195 312.7)
XYZxyz(15.5527, 8.1917, 35.4051)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24A3 #4BA324
analogous
#3D24A3 #7C24A3 #A3248B
triadic
#7C24A3 #A37C24 #24A37C
tetradic
#7C24A3 #A33D24 #4BA324 #248BA3
square
#7C24A3 #A33D24 #4BA324 #248BA3
split-complementary
#7C24A3 #8BA324 #24A33D
monochromatic
#300E3F #561971 #7C24A3 #A132D2 #B865DD

Accessibility & contrast

On white

7.96
#7C24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7C24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24A3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24A3#FFFFFF#000000##FFFFFF
##7C24A31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1153A0
Tritanopia (blue-blind)
#784263
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c24a3;
/* rgb */ color: rgb(124, 36, 163);
/* oklch */ color: oklch(46.0% 0.195 312.7);
Tailwind
colors: {
  custom: {
    50: '#a669bf',
    500: '#7c24a3',
    950: '#000000',
  },
}
SCSS
$custom: #7c24a3;
$custom-light: #a669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24a3",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 281.575,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.19517,
    "h": 312.7
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#7C24A3
secondary
#7FC260
accent
#E74174
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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