#7A24AE#7A24AE

#7A24AE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.205 H 308.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7A24AE
RGBrgb(122, 36, 174)
HSLhsl(277, 66%, 41%)
HSVhsv(277, 79%, 68%)
CMYKcmyk(29.9%, 79.3%, 0%, 31.8%)
CIE-LABlab(34.91, 58.31, -56.42)
CIE-LCHlch(34.91, 81.13, 315.94°)
OKLaboklab(46.54% 0.1274 -0.1603)
OKLCHoklch(46.54% 0.205 308.5)
XYZxyz(16.2953, 8.4556, 40.8099)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24AE #58AE24
analogous
#3524AE #7A24AE #AE249D
triadic
#7A24AE #AE7A24 #24AE7A
tetradic
#7A24AE #AE3524 #58AE24 #249DAE
square
#7A24AE #AE3524 #58AE24 #249DAE
split-complementary
#7A24AE #9DAE24 #24AE35
monochromatic
#330F49 #561A7B #7A24AE #9B39D6 #B56CE1

Accessibility & contrast

On white

7.80
#7A24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7A24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24AE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24AE#FFFFFF#000000##FFFFFF
##7A24AE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#724769
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a24ae;
/* rgb */ color: rgb(122, 36, 174);
/* oklch */ color: oklch(46.5% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#a669c7',
    500: '#7a24ae',
    950: '#000000',
  },
}
SCSS
$custom: #7a24ae;
$custom-light: #a669c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24ae",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 277.391,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.20477,
    "h": 308.5
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#7A24AE
secondary
#8BC767
accent
#E93F7F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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