#7E24AA#7E24AA

#7E24AA is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.202 H 311.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7E24AA
RGBrgb(126, 36, 170)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 67%)
CMYKcmyk(25.9%, 78.8%, 0%, 33.3%)
CIE-LABlab(35.20, 58.16, -53.53)
CIE-LCHlch(35.20, 79.05, 317.38°)
OKLaboklab(46.76% 0.1337 -0.1517)
OKLCHoklch(46.76% 0.202 311.4)
XYZxyz(16.4894, 8.6001, 38.8138)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24AA #50AA24
analogous
#3B24AA #7E24AA #AA2493
triadic
#7E24AA #AA7E24 #24AA7E
tetradic
#7E24AA #AA3B24 #50AA24 #2493AA
square
#7E24AA #AA3B24 #50AA24 #2493AA
split-complementary
#7E24AA #93AA24 #24AA3B
monochromatic
#330F45 #591977 #7E24AA #A137D5 #B869DF

Accessibility & contrast

On white

7.72
#7E24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24AA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24AA#FFFFFF#000000##FFFFFF
##7E24AA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0154A7
Tritanopia (blue-blind)
#784567
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e24aa;
/* rgb */ color: rgb(126, 36, 170);
/* oklch */ color: oklch(46.8% 0.202 311.4);
Tailwind
colors: {
  custom: {
    50: '#a86ac4',
    500: '#7e24aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e24aa;
$custom-light: #a86ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24aa",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 280.299,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.20221,
    "h": 311.4
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#7E24AA
secondary
#84C565
accent
#E84077
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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