#7D24AE#7D24AE

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

Color values

HEX#7D24AE
RGBrgb(125, 36, 174)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 79%, 68%)
CMYKcmyk(28.2%, 79.3%, 0%, 31.8%)
CIE-LABlab(35.36, 58.83, -55.68)
CIE-LCHlch(35.36, 81.00, 316.58°)
OKLaboklab(46.94% 0.1315 -0.158)
OKLCHoklch(46.94% 0.206 309.8)
XYZxyz(16.7268, 8.6781, 40.8301)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24AE #55AE24
analogous
#3824AE #7D24AE #AE249A
triadic
#7D24AE #AE7D24 #24AE7D
tetradic
#7D24AE #AE3824 #55AE24 #249AAE
square
#7D24AE #AE3824 #55AE24 #249AAE
split-complementary
#7D24AE #9AAE24 #24AE38
monochromatic
#340F49 #591A7B #7D24AE #9E39D6 #B76CE1

Accessibility & contrast

On white

7.68
#7D24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D24AE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24AE#FFFFFF#000000##FFFFFF
##7D24AE1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#764769
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d24ae;
/* rgb */ color: rgb(125, 36, 174);
/* oklch */ color: oklch(46.9% 0.206 309.8);
Tailwind
colors: {
  custom: {
    50: '#a86ac7',
    500: '#7d24ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d24ae;
$custom-light: #a86ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24ae",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 278.696,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.20558,
    "h": 309.8
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#7D24AE
secondary
#89C767
accent
#E93F7B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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