#7D24A6#7D24A6

#7D24A6 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 312.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7D24A6
RGBrgb(125, 36, 166)
HSLhsl(281, 64%, 40%)
HSVhsv(281, 78%, 65%)
CMYKcmyk(24.7%, 78.3%, 0%, 34.9%)
CIE-LABlab(34.75, 57.14, -51.86)
CIE-LCHlch(34.75, 77.17, 317.77°)
OKLaboklab(46.32% 0.1332 -0.1468)
OKLCHoklch(46.32% 0.198 312.2)
XYZxyz(15.9700, 8.3754, 36.8443)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24A6 #4DA624
analogous
#3C24A6 #7D24A6 #A6248E
triadic
#7D24A6 #A67D24 #24A67D
tetradic
#7D24A6 #A63C24 #4DA624 #248EA6
square
#7D24A6 #A63C24 #4DA624 #248EA6
split-complementary
#7D24A6 #8EA624 #24A63C
monochromatic
#310E41 #571974 #7D24A6 #A134D3 #B866DE

Accessibility & contrast

On white

7.85
#7D24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24A6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24A6#FFFFFF#000000##FFFFFF
##7D24A61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0C53A3
Tritanopia (blue-blind)
#784365
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d24a6;
/* rgb */ color: rgb(125, 36, 166);
/* oklch */ color: oklch(46.3% 0.198 312.2);
Tailwind
colors: {
  custom: {
    50: '#a769c1',
    500: '#7d24a6',
    950: '#000000',
  },
}
SCSS
$custom: #7d24a6;
$custom-light: #a769c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24a6",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 281.077,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.19824,
    "h": 312.2
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#7D24A6
secondary
#81C462
accent
#E74075
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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