#7D24AF#7D24AF

#7D24AF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.206 H 309.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7D24AF
RGBrgb(125, 36, 175)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 79%, 69%)
CMYKcmyk(28.6%, 79.4%, 0%, 31.4%)
CIE-LABlab(35.43, 59.04, -56.15)
CIE-LCHlch(35.43, 81.48, 316.44°)
OKLaboklab(47.02% 0.1313 -0.1594)
OKLCHoklch(47.02% 0.207 309.5)
XYZxyz(16.8246, 8.7172, 41.3454)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24AF #56AF24
analogous
#3724AF #7D24AF #AF249C
triadic
#7D24AF #AF7D24 #24AF7D
tetradic
#7D24AF #AF3724 #56AF24 #249CAF
square
#7D24AF #AF3724 #56AF24 #249CAF
split-complementary
#7D24AF #9CAF24 #24AF37
monochromatic
#340F49 #591A7C #7D24AF #9E3AD6 #B76DE1

Accessibility & contrast

On white

7.65
#7D24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24AF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24AF#FFFFFF#000000##FFFFFF
##7D24AF1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#75476A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d24af;
/* rgb */ color: rgb(125, 36, 175);
/* oklch */ color: oklch(47.0% 0.206 309.5);
Tailwind
colors: {
  custom: {
    50: '#a86ac8',
    500: '#7d24af',
    950: '#000000',
  },
}
SCSS
$custom: #7d24af;
$custom-light: #a86ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24af",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 278.417,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.2065,
    "h": 309.5
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#7D24AF
secondary
#8AC768
accent
#E93F7C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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