#7C24A2#7C24A2

#7C24A2 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.194 H 313.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7C24A2
RGBrgb(124, 36, 162)
HSLhsl(282, 64%, 39%)
HSVhsv(282, 78%, 64%)
CMYKcmyk(23.5%, 77.8%, 0%, 36.5%)
CIE-LABlab(34.31, 56.12, -50.19)
CIE-LCHlch(34.31, 75.29, 318.20°)
OKLaboklab(45.89% 0.1326 -0.1419)
OKLCHoklch(45.89% 0.194 313.1)
XYZxyz(15.4635, 8.1560, 34.9351)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24A2 #4AA224
analogous
#3D24A2 #7C24A2 #A22489
triadic
#7C24A2 #A27C24 #24A27C
tetradic
#7C24A2 #A23D24 #4AA224 #2489A2
square
#7C24A2 #A23D24 #4AA224 #2489A2
split-complementary
#7C24A2 #89A224 #24A23D
monochromatic
#2F0E3E #561970 #7C24A2 #A132D1 #B864DD

Accessibility & contrast

On white

7.98
#7C24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7C24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24A2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24A2#FFFFFF#000000##FFFFFF
##7C24A21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#14539F
Tritanopia (blue-blind)
#784262
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c24a2;
/* rgb */ color: rgb(124, 36, 162);
/* oklch */ color: oklch(45.9% 0.194 313.1);
Tailwind
colors: {
  custom: {
    50: '#a669be',
    500: '#7c24a2',
    950: '#000000',
  },
}
SCSS
$custom: #7c24a2;
$custom-light: #a669be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24a2",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 281.905,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.19425,
    "h": 313.1
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#7C24A2
secondary
#7DC260
accent
#E74173
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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