#7D24BE#7D24BE

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

Color values

HEX#7D24BE
RGBrgb(125, 36, 190)
HSLhsl(275, 68%, 44%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(34.2%, 81.1%, 0%, 25.5%)
CIE-LABlab(36.63, 62.29, -63.08)
CIE-LCHlch(36.63, 88.65, 314.64°)
OKLaboklab(48.22% 0.1274 -0.1798)
OKLCHoklch(48.22% 0.22 305.3)
XYZxyz(18.3805, 9.3396, 49.5396)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24BE #65BE24
analogous
#3024BE #7D24BE #BE24B2
triadic
#7D24BE #BE7D24 #24BE7D
tetradic
#7D24BE #BE3024 #65BE24 #24B2BE
square
#7D24BE #BE3024 #65BE24 #24B2BE
split-complementary
#7D24BE #B2BE24 #24BE30
monochromatic
#391157 #5B1A8B #7D24BE #9B44DC #B777E5

Accessibility & contrast

On white

7.32
#7D24BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D24BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24BE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24BE#FFFFFF#000000##FFFFFF
##7D24BE1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d24be;
/* rgb */ color: rgb(125, 36, 190);
/* oklch */ color: oklch(48.2% 0.220 305.3);
Tailwind
colors: {
  custom: {
    50: '#a96bd3',
    500: '#7d24be',
    950: '#000000',
  },
}
SCSS
$custom: #7d24be;
$custom-light: #a96bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24be",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 190
  },
  "hsl": {
    "h": 274.675,
    "s": 68.142,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.22036,
    "h": 305.3
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D24BE

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

Preview Lab → · Contrast checker → · Palette generator →

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