#7C24BF#7C24BF

#7C24BF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.221 H 304.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7C24BF
RGBrgb(124, 36, 191)
HSLhsl(274, 68%, 45%)
HSVhsv(274, 81%, 75%)
CMYKcmyk(35.1%, 81.2%, 0%, 25.1%)
CIE-LABlab(36.57, 62.35, -63.77)
CIE-LCHlch(36.57, 89.19, 314.35°)
OKLaboklab(48.18% 0.1257 -0.1819)
OKLCHoklch(48.18% 0.221 304.7)
XYZxyz(18.3449, 9.3085, 50.1104)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24BF #67BF24
analogous
#2F24BF #7C24BF #BF24B4
triadic
#7C24BF #BF7C24 #24BF7C
tetradic
#7C24BF #BF2F24 #67BF24 #24B4BF
square
#7C24BF #BF2F24 #67BF24 #24B4BF
split-complementary
#7C24BF #B4BF24 #24BF2F
monochromatic
#391158 #5B1A8C #7C24BF #9A44DC #B678E6

Accessibility & contrast

On white

7.34
#7C24BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7C24BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24BF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24BF#FFFFFF#000000##FFFFFF
##7C24BF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#6F4F73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c24bf;
/* rgb */ color: rgb(124, 36, 191);
/* oklch */ color: oklch(48.2% 0.221 304.7);
Tailwind
colors: {
  custom: {
    50: '#a86bd3',
    500: '#7c24bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c24bf;
$custom-light: #a86bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24bf",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 191
  },
  "hsl": {
    "h": 274.065,
    "s": 68.282,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.22108,
    "h": 304.7
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#7C24BF
secondary
#99CD72
accent
#EB3D88
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7C24BF

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

Preview Lab → · Contrast checker → · Palette generator →

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