#7C24BE#7C24BE

#7C24BE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.220 H 304.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7C24BE
RGBrgb(124, 36, 190)
HSLhsl(274, 68%, 44%)
HSVhsv(274, 81%, 75%)
CMYKcmyk(34.7%, 81.1%, 0%, 25.5%)
CIE-LABlab(36.49, 62.13, -63.32)
CIE-LCHlch(36.49, 88.71, 314.46°)
OKLaboklab(48.09% 0.126 -0.1805)
OKLCHoklch(48.09% 0.22 304.9)
XYZxyz(18.2352, 9.2646, 49.5328)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C24BE #66BE24
analogous
#2F24BE #7C24BE #BE24B3
triadic
#7C24BE #BE7C24 #24BE7C
tetradic
#7C24BE #BE2F24 #66BE24 #24B3BE
square
#7C24BE #BE2F24 #66BE24 #24B3BE
split-complementary
#7C24BE #B3BE24 #24BE2F
monochromatic
#391157 #5A1A8B #7C24BE #9A44DC #B677E5

Accessibility & contrast

On white

7.36
#7C24BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7C24BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C24BE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C24BE#FFFFFF#000000##FFFFFF
##7C24BE1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#6F4E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c24be;
/* rgb */ color: rgb(124, 36, 190);
/* oklch */ color: oklch(48.1% 0.220 304.9);
Tailwind
colors: {
  custom: {
    50: '#a86bd3',
    500: '#7c24be',
    950: '#000000',
  },
}
SCSS
$custom: #7c24be;
$custom-light: #a86bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c24be",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 190
  },
  "hsl": {
    "h": 274.286,
    "s": 68.142,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.22015,
    "h": 304.9
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#7C24BE
secondary
#98CD71
accent
#EB3D87
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7C24BE

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

Preview Lab → · Contrast checker → · Palette generator →

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