#7D24A2#7D24A2

#7D24A2 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.195 H 313.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7D24A2
RGBrgb(125, 36, 162)
HSLhsl(282, 64%, 39%)
HSVhsv(282, 78%, 64%)
CMYKcmyk(22.8%, 77.8%, 0%, 36.5%)
CIE-LABlab(34.46, 56.31, -49.93)
CIE-LCHlch(34.46, 75.26, 318.44°)
OKLaboklab(46.02% 0.1339 -0.1411)
OKLCHoklch(46.02% 0.195 313.5)
XYZxyz(15.6088, 8.2309, 34.9419)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24A2 #49A224
analogous
#3E24A2 #7D24A2 #A22488
triadic
#7D24A2 #A27D24 #24A27D
tetradic
#7D24A2 #A23E24 #49A224 #2488A2
square
#7D24A2 #A23E24 #49A224 #2488A2
split-complementary
#7D24A2 #88A224 #24A23E
monochromatic
#300E3E #561970 #7D24A2 #A332D1 #B964DD

Accessibility & contrast

On white

7.94
#7D24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24A2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24A2#FFFFFF#000000##FFFFFF
##7D24A21.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#16539F
Tritanopia (blue-blind)
#794262
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d24a2;
/* rgb */ color: rgb(125, 36, 162);
/* oklch */ color: oklch(46.0% 0.195 313.5);
Tailwind
colors: {
  custom: {
    50: '#a769be',
    500: '#7d24a2',
    950: '#000000',
  },
}
SCSS
$custom: #7d24a2;
$custom-light: #a769be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24a2",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 282.381,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46024,
    "c": 0.19458,
    "h": 313.5
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#7D24A2
secondary
#7DC260
accent
#E74172
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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