#7E24AE#7E24AE

#7E24AE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.206 H 310.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7E24AE
RGBrgb(126, 36, 174)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 79%, 68%)
CMYKcmyk(27.6%, 79.3%, 0%, 31.8%)
CIE-LABlab(35.51, 59.01, -55.43)
CIE-LCHlch(35.51, 80.96, 316.79°)
OKLaboklab(47.07% 0.1329 -0.1573)
OKLCHoklch(47.07% 0.206 310.2)
XYZxyz(16.8735, 8.7537, 40.8370)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24AE #54AE24
analogous
#3924AE #7E24AE #AE2499
triadic
#7E24AE #AE7E24 #24AE7E
tetradic
#7E24AE #AE3924 #54AE24 #2499AE
square
#7E24AE #AE3924 #54AE24 #2499AE
split-complementary
#7E24AE #99AE24 #24AE39
monochromatic
#350F49 #591A7B #7E24AE #9F39D6 #B86CE1

Accessibility & contrast

On white

7.63
#7E24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7E24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24AE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24AE#FFFFFF#000000##FFFFFF
##7E24AE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e24ae;
/* rgb */ color: rgb(126, 36, 174);
/* oklch */ color: oklch(47.1% 0.206 310.2);
Tailwind
colors: {
  custom: {
    50: '#a86ac7',
    500: '#7e24ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e24ae;
$custom-light: #a86ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24ae",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 279.13,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47072,
    "c": 0.20587,
    "h": 310.2
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#7E24AE
secondary
#88C767
accent
#E93F7A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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