#7D24A8#7D24A8

#7D24A8 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.200 H 311.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7D24A8
RGBrgb(125, 36, 168)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 66%)
CMYKcmyk(25.6%, 78.6%, 0%, 34.1%)
CIE-LABlab(34.90, 57.56, -52.83)
CIE-LCHlch(34.90, 78.13, 317.46°)
OKLaboklab(46.48% 0.1328 -0.1496)
OKLCHoklch(46.48% 0.2 311.6)
XYZxyz(16.1549, 8.4493, 37.8181)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24A8 #4FA824
analogous
#3B24A8 #7D24A8 #A82491
triadic
#7D24A8 #A87D24 #24A87D
tetradic
#7D24A8 #A83B24 #4FA824 #2491A8
square
#7D24A8 #A83B24 #4FA824 #2491A8
split-complementary
#7D24A8 #91A824 #24A83B
monochromatic
#320E43 #581976 #7D24A8 #A035D4 #B868DF

Accessibility & contrast

On white

7.81
#7D24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24A8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24A8#FFFFFF#000000##FFFFFF
##7D24A81.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0454A5
Tritanopia (blue-blind)
#774466
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d24a8;
/* rgb */ color: rgb(125, 36, 168);
/* oklch */ color: oklch(46.5% 0.200 311.6);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7d24a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d24a8;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24a8",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 280.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.20007,
    "h": 311.6
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#7D24A8
secondary
#83C463
accent
#E84077
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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