#7C24B3#7C24B3

#7C24B3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.210 H 307.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7C24B3
RGBrgb(124, 36, 179)
HSLhsl(277, 67%, 42%)
HSVhsv(277, 80%, 70%)
CMYKcmyk(30.7%, 79.9%, 0%, 29.8%)
CIE-LABlab(35.60, 59.73, -58.27)
CIE-LCHlch(35.60, 83.44, 315.71°)
OKLaboklab(47.2% 0.1289 -0.1657)
OKLCHoklch(47.2% 0.21 307.9)
XYZxyz(17.0780, 8.8018, 43.4383)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24B3 #5BB324
analogous
#3424B3 #7C24B3 #B324A3
triadic
#7C24B3 #B37C24 #24B37C
tetradic
#7C24B3 #B33424 #5BB324 #24A3B3
square
#7C24B3 #B33424 #5BB324 #24A3B3
split-complementary
#7C24B3 #A3B324 #24B334
monochromatic
#35104D #591A80 #7C24B3 #9C3CD8 #B66FE2

Accessibility & contrast

On white

7.61
#7C24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7C24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24B3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24B3#FFFFFF#000000##FFFFFF
##7C24B31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#73496C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c24b3;
/* rgb */ color: rgb(124, 36, 179);
/* oklch */ color: oklch(47.2% 0.210 307.9);
Tailwind
colors: {
  custom: {
    50: '#a76acb',
    500: '#7c24b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c24b3;
$custom-light: #a76acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24b3",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 276.923,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.20994,
    "h": 307.9
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#7C24B3
secondary
#8EC96A
accent
#E93E80
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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