#7D24AA#7D24AA

#7D24AA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.202 H 311.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7D24AA
RGBrgb(125, 36, 170)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 67%)
CMYKcmyk(26.5%, 78.8%, 0%, 33.3%)
CIE-LABlab(35.05, 57.98, -53.78)
CIE-LCHlch(35.05, 79.08, 317.15°)
OKLaboklab(46.63% 0.1324 -0.1525)
OKLCHoklch(46.63% 0.202 311)
XYZxyz(16.3426, 8.5244, 38.8069)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24AA #51AA24
analogous
#3A24AA #7D24AA #AA2494
triadic
#7D24AA #AA7D24 #24AA7D
tetradic
#7D24AA #AA3A24 #51AA24 #2494AA
square
#7D24AA #AA3A24 #51AA24 #2494AA
split-complementary
#7D24AA #94AA24 #24AA3A
monochromatic
#330F45 #581977 #7D24AA #A037D5 #B869DF

Accessibility & contrast

On white

7.76
#7D24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24AA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24AA#FFFFFF#000000##FFFFFF
##7D24AA1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#774567
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d24aa;
/* rgb */ color: rgb(125, 36, 170);
/* oklch */ color: oklch(46.6% 0.202 311.0);
Tailwind
colors: {
  custom: {
    50: '#a76ac4',
    500: '#7d24aa',
    950: '#000000',
  },
}
SCSS
$custom: #7d24aa;
$custom-light: #a76ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24aa",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 279.851,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.20191,
    "h": 311
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#7D24AA
secondary
#85C565
accent
#E84078
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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