#7D24AD#7D24AD

#7D24AD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.205 H 310.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7D24AD
RGBrgb(125, 36, 173)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 79%, 68%)
CMYKcmyk(27.7%, 79.2%, 0%, 32.2%)
CIE-LABlab(35.28, 58.62, -55.20)
CIE-LCHlch(35.28, 80.52, 316.72°)
OKLaboklab(46.86% 0.1317 -0.1566)
OKLCHoklch(46.86% 0.205 310.1)
XYZxyz(16.6297, 8.6392, 40.3186)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24AD #54AD24
analogous
#3824AD #7D24AD #AD2498
triadic
#7D24AD #AD7D24 #24AD7D
tetradic
#7D24AD #AD3824 #54AD24 #2498AD
square
#7D24AD #AD3824 #54AD24 #2498AD
split-complementary
#7D24AD #98AD24 #24AD38
monochromatic
#340F48 #58197A #7D24AD #9F39D6 #B76BE0

Accessibility & contrast

On white

7.70
#7D24AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D24AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24AD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24AD#FFFFFF#000000##FFFFFF
##7D24AD1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#764669
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d24ad;
/* rgb */ color: rgb(125, 36, 173);
/* oklch */ color: oklch(46.9% 0.205 310.1);
Tailwind
colors: {
  custom: {
    50: '#a86ac6',
    500: '#7d24ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d24ad;
$custom-light: #a86ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24ad",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 278.978,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46859,
    "c": 0.20466,
    "h": 310.1
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#7D24AD
secondary
#88C666
accent
#E93F7B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24AD

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

Preview Lab → · Contrast checker → · Palette generator →

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