#7E24AF#7E24AF

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

Color values

HEX#7E24AF
RGBrgb(126, 36, 175)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 79%, 69%)
CMYKcmyk(28%, 79.4%, 0%, 31.4%)
CIE-LABlab(35.58, 59.22, -55.90)
CIE-LCHlch(35.58, 81.43, 316.65°)
OKLaboklab(47.15% 0.1326 -0.1587)
OKLCHoklch(47.15% 0.207 309.9)
XYZxyz(16.9714, 8.7929, 41.3523)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24AF #55AF24
analogous
#3924AF #7E24AF #AF249B
triadic
#7E24AF #AF7E24 #24AF7E
tetradic
#7E24AF #AF3924 #55AF24 #249BAF
square
#7E24AF #AF3924 #55AF24 #249BAF
split-complementary
#7E24AF #9BAF24 #24AF39
monochromatic
#350F49 #591A7C #7E24AF #9F3AD6 #B86DE1

Accessibility & contrast

On white

7.61
#7E24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7E24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24AF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24AF#FFFFFF#000000##FFFFFF
##7E24AF1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#77476A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e24af;
/* rgb */ color: rgb(126, 36, 175);
/* oklch */ color: oklch(47.1% 0.207 309.9);
Tailwind
colors: {
  custom: {
    50: '#a86ac8',
    500: '#7e24af',
    950: '#000000',
  },
}
SCSS
$custom: #7e24af;
$custom-light: #a86ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24af",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 278.849,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.20679,
    "h": 309.9
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#7E24AF
secondary
#89C768
accent
#E93F7B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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