#7C24BD#7C24BD

#7C24BD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.219 H 305.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7C24BD
RGBrgb(124, 36, 189)
HSLhsl(275, 68%, 44%)
HSVhsv(275, 81%, 74%)
CMYKcmyk(34.4%, 81%, 0%, 25.9%)
CIE-LABlab(36.41, 61.91, -62.87)
CIE-LCHlch(36.41, 88.23, 314.56°)
OKLaboklab(48.01% 0.1263 -0.1792)
OKLCHoklch(48.01% 0.219 305.2)
XYZxyz(18.1263, 9.2211, 48.9592)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24BD #65BD24
analogous
#3024BD #7C24BD #BD24B2
triadic
#7C24BD #BD7C24 #24BD7C
tetradic
#7C24BD #BD3024 #65BD24 #24B2BD
square
#7C24BD #BD3024 #65BD24 #24B2BD
split-complementary
#7C24BD #B2BD24 #24BD30
monochromatic
#391056 #5A1A8A #7C24BD #9B43DB #B676E5

Accessibility & contrast

On white

7.38
#7C24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7C24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24BD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24BD#FFFFFF#000000##FFFFFF
##7C24BD1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#704E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c24bd;
/* rgb */ color: rgb(124, 36, 189);
/* oklch */ color: oklch(48.0% 0.219 305.2);
Tailwind
colors: {
  custom: {
    50: '#a86ad2',
    500: '#7c24bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c24bd;
$custom-light: #a86ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24bd",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 274.51,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.21922,
    "h": 305.2
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#7C24BD
secondary
#97CC70
accent
#EB3D87
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7C24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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