#7D24AC#7D24AC

#7D24AC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.204 H 310.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7D24AC
RGBrgb(125, 36, 172)
HSLhsl(279, 65%, 41%)
HSVhsv(279, 79%, 67%)
CMYKcmyk(27.3%, 79.1%, 0%, 32.5%)
CIE-LABlab(35.20, 58.40, -54.73)
CIE-LCHlch(35.20, 80.04, 316.86°)
OKLaboklab(46.78% 0.1319 -0.1552)
OKLCHoklch(46.78% 0.204 310.4)
XYZxyz(16.5333, 8.6007, 39.8109)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24AC #53AC24
analogous
#3924AC #7D24AC #AC2497
triadic
#7D24AC #AC7D24 #24AC7D
tetradic
#7D24AC #AC3924 #53AC24 #2497AC
square
#7D24AC #AC3924 #53AC24 #2497AC
split-complementary
#7D24AC #97AC24 #24AC39
monochromatic
#330F47 #581979 #7D24AC #9F38D5 #B76AE0

Accessibility & contrast

On white

7.72
#7D24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24AC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24AC#FFFFFF#000000##FFFFFF
##7D24AC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#764668
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d24ac;
/* rgb */ color: rgb(125, 36, 172);
/* oklch */ color: oklch(46.8% 0.204 310.4);
Tailwind
colors: {
  custom: {
    50: '#a86ac6',
    500: '#7d24ac',
    950: '#000000',
  },
}
SCSS
$custom: #7d24ac;
$custom-light: #a86ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24ac",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 279.265,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.20374,
    "h": 310.4
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#7D24AC
secondary
#87C666
accent
#E83F7A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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