#7D24A5#7D24A5

#7D24A5 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.197 H 312.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7D24A5
RGBrgb(125, 36, 165)
HSLhsl(281, 64%, 39%)
HSVhsv(281, 78%, 65%)
CMYKcmyk(24.2%, 78.2%, 0%, 35.3%)
CIE-LABlab(34.68, 56.93, -51.38)
CIE-LCHlch(34.68, 76.69, 317.93°)
OKLaboklab(46.25% 0.1334 -0.1454)
OKLCHoklch(46.25% 0.197 312.5)
XYZxyz(15.8786, 8.3388, 36.3631)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24A5 #4CA524
analogous
#3C24A5 #7D24A5 #A5248D
triadic
#7D24A5 #A57D24 #24A57D
tetradic
#7D24A5 #A53C24 #4CA524 #248DA5
square
#7D24A5 #A53C24 #4CA524 #248DA5
split-complementary
#7D24A5 #8DA524 #24A53C
monochromatic
#310E41 #571973 #7D24A5 #A134D3 #B866DE

Accessibility & contrast

On white

7.87
#7D24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24A5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24A5#FFFFFF#000000##FFFFFF
##7D24A51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0F53A2
Tritanopia (blue-blind)
#784364
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d24a5;
/* rgb */ color: rgb(125, 36, 165);
/* oklch */ color: oklch(46.2% 0.197 312.5);
Tailwind
colors: {
  custom: {
    50: '#a769c0',
    500: '#7d24a5',
    950: '#000000',
  },
}
SCSS
$custom: #7d24a5;
$custom-light: #a769c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24a5",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 281.395,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.19732,
    "h": 312.5
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#7D24A5
secondary
#80C362
accent
#E74174
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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