#7C24B0#7C24B0

#7C24B0 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.207 H 308.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7C24B0
RGBrgb(124, 36, 176)
HSLhsl(278, 66%, 42%)
HSVhsv(278, 80%, 69%)
CMYKcmyk(29.5%, 79.5%, 0%, 31%)
CIE-LABlab(35.36, 59.08, -56.87)
CIE-LCHlch(35.36, 82.00, 316.10°)
OKLaboklab(46.96% 0.1297 -0.1616)
OKLCHoklch(46.96% 0.207 308.7)
XYZxyz(16.7779, 8.6817, 41.8578)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24B0 #58B024
analogous
#3624B0 #7C24B0 #B0249E
triadic
#7C24B0 #B07C24 #24B07C
tetradic
#7C24B0 #B03624 #58B024 #249EB0
square
#7C24B0 #B03624 #58B024 #249EB0
split-complementary
#7C24B0 #9EB024 #24B036
monochromatic
#340F4A #581A7D #7C24B0 #9D3AD7 #B66DE1

Accessibility & contrast

On white

7.67
#7C24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7C24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24B0
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24B0#FFFFFF#000000##FFFFFF
##7C24B01.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#74486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c24b0;
/* rgb */ color: rgb(124, 36, 176);
/* oklch */ color: oklch(47.0% 0.207 308.7);
Tailwind
colors: {
  custom: {
    50: '#a76ac8',
    500: '#7c24b0',
    950: '#000000',
  },
}
SCSS
$custom: #7c24b0;
$custom-light: #a76ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24b0",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 277.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4696,
    "c": 0.20716,
    "h": 308.7
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#7C24B0
secondary
#8CC868
accent
#E93F7E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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