#7C24AA#7C24AA

#7C24AA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.202 H 310.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7C24AA
RGBrgb(124, 36, 170)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 67%)
CMYKcmyk(27.1%, 78.8%, 0%, 33.3%)
CIE-LABlab(34.90, 57.80, -54.03)
CIE-LCHlch(34.90, 79.12, 316.93°)
OKLaboklab(46.49% 0.131 -0.1532)
OKLCHoklch(46.49% 0.202 310.5)
XYZxyz(16.1973, 8.4495, 38.8001)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24AA #52AA24
analogous
#3924AA #7C24AA #AA2495
triadic
#7C24AA #AA7C24 #24AA7C
tetradic
#7C24AA #AA3924 #52AA24 #2495AA
square
#7C24AA #AA3924 #52AA24 #2495AA
split-complementary
#7C24AA #95AA24 #24AA39
monochromatic
#320F45 #571977 #7C24AA #9E37D5 #B769DF

Accessibility & contrast

On white

7.81
#7C24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7C24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24AA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24AA#FFFFFF#000000##FFFFFF
##7C24AA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#764567
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c24aa;
/* rgb */ color: rgb(124, 36, 170);
/* oklch */ color: oklch(46.5% 0.202 310.5);
Tailwind
colors: {
  custom: {
    50: '#a769c4',
    500: '#7c24aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c24aa;
$custom-light: #a769c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24aa",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 279.403,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.20161,
    "h": 310.5
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#7C24AA
secondary
#86C565
accent
#E8407A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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