#7C24A7#7C24A7

#7C24A7 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.199 H 311.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7C24A7
RGBrgb(124, 36, 167)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(25.7%, 78.4%, 0%, 34.5%)
CIE-LABlab(34.68, 57.17, -52.60)
CIE-LCHlch(34.68, 77.68, 317.38°)
OKLaboklab(46.26% 0.1317 -0.149)
OKLCHoklch(46.26% 0.199 311.5)
XYZxyz(15.9168, 8.3373, 37.3225)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24A7 #4FA724
analogous
#3A24A7 #7C24A7 #A72491
triadic
#7C24A7 #A77C24 #24A77C
tetradic
#7C24A7 #A73A24 #4FA724 #2491A7
square
#7C24A7 #A73A24 #4FA724 #2491A7
split-complementary
#7C24A7 #91A724 #24A73A
monochromatic
#310E42 #571975 #7C24A7 #9F35D3 #B767DE

Accessibility & contrast

On white

7.87
#7C24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C24A7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24A7#FFFFFF#000000##FFFFFF
##7C24A71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0453A4
Tritanopia (blue-blind)
#764465
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c24a7;
/* rgb */ color: rgb(124, 36, 167);
/* oklch */ color: oklch(46.3% 0.199 311.5);
Tailwind
colors: {
  custom: {
    50: '#a769c2',
    500: '#7c24a7',
    950: '#000000',
  },
}
SCSS
$custom: #7c24a7;
$custom-light: #a769c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24a7",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 280.305,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.19885,
    "h": 311.5
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#7C24A7
secondary
#83C463
accent
#E84077
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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