#7D24A7#7D24A7

#7D24A7 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.199 H 311.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7D24A7
RGBrgb(125, 36, 167)
HSLhsl(281, 65%, 40%)
HSVhsv(281, 78%, 65%)
CMYKcmyk(25.1%, 78.4%, 0%, 34.5%)
CIE-LABlab(34.83, 57.35, -52.35)
CIE-LCHlch(34.83, 77.65, 317.61°)
OKLaboklab(46.4% 0.133 -0.1482)
OKLCHoklch(46.4% 0.199 311.9)
XYZxyz(16.0621, 8.4122, 37.3293)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24A7 #4EA724
analogous
#3B24A7 #7D24A7 #A72490
triadic
#7D24A7 #A77D24 #24A77D
tetradic
#7D24A7 #A73B24 #4EA724 #2490A7
square
#7D24A7 #A73B24 #4EA724 #2490A7
split-complementary
#7D24A7 #90A724 #24A73B
monochromatic
#320E42 #571975 #7D24A7 #A135D3 #B867DE

Accessibility & contrast

On white

7.83
#7D24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D24A7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24A7#FFFFFF#000000##FFFFFF
##7D24A71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0854A4
Tritanopia (blue-blind)
#784465
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d24a7;
/* rgb */ color: rgb(125, 36, 167);
/* oklch */ color: oklch(46.4% 0.199 311.9);
Tailwind
colors: {
  custom: {
    50: '#a769c2',
    500: '#7d24a7',
    950: '#000000',
  },
}
SCSS
$custom: #7d24a7;
$custom-light: #a769c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24a7",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 280.763,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.19915,
    "h": 311.9
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#7D24A7
secondary
#82C463
accent
#E84076
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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