#7D24A3#7D24A3

#7D24A3 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.195 H 313.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7D24A3
RGBrgb(125, 36, 163)
HSLhsl(282, 64%, 39%)
HSVhsv(282, 78%, 64%)
CMYKcmyk(23.3%, 77.9%, 0%, 36.1%)
CIE-LABlab(34.53, 56.52, -50.41)
CIE-LCHlch(34.53, 75.74, 318.27°)
OKLaboklab(46.1% 0.1338 -0.1426)
OKLCHoklch(46.1% 0.195 313.2)
XYZxyz(15.6980, 8.2666, 35.4119)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24A3 #4AA324
analogous
#3E24A3 #7D24A3 #A3248A
triadic
#7D24A3 #A37D24 #24A37D
tetradic
#7D24A3 #A33E24 #4AA324 #248AA3
square
#7D24A3 #A33E24 #4AA324 #248AA3
split-complementary
#7D24A3 #8AA324 #24A33E
monochromatic
#300E3F #571971 #7D24A3 #A232D2 #B965DD

Accessibility & contrast

On white

7.91
#7D24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24A3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24A3#FFFFFF#000000##FFFFFF
##7D24A31.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1453A0
Tritanopia (blue-blind)
#794263
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d24a3;
/* rgb */ color: rgb(125, 36, 163);
/* oklch */ color: oklch(46.1% 0.195 313.2);
Tailwind
colors: {
  custom: {
    50: '#a769bf',
    500: '#7d24a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d24a3;
$custom-light: #a769bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24a3",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 282.047,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46099,
    "c": 0.19549,
    "h": 313.2
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#7D24A3
secondary
#7EC260
accent
#E74173
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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