#7A24AC#7A24AC

#7A24AC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.203 H 309.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7A24AC
RGBrgb(122, 36, 172)
HSLhsl(278, 65%, 41%)
HSVhsv(278, 79%, 67%)
CMYKcmyk(29.1%, 79.1%, 0%, 32.5%)
CIE-LABlab(34.76, 57.88, -55.47)
CIE-LCHlch(34.76, 80.17, 316.21°)
OKLaboklab(46.38% 0.1279 -0.1575)
OKLCHoklch(46.38% 0.203 309.1)
XYZxyz(16.1018, 8.3782, 39.7906)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24AC #56AC24
analogous
#3624AC #7A24AC #AC249A
triadic
#7A24AC #AC7A24 #24AC7A
tetradic
#7A24AC #AC3624 #56AC24 #249AAC
square
#7A24AC #AC3624 #56AC24 #249AAC
split-complementary
#7A24AC #9AAC24 #24AC36
monochromatic
#320F47 #561979 #7A24AC #9B38D5 #B56AE0

Accessibility & contrast

On white

7.85
#7A24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7A24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24AC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24AC#FFFFFF#000000##FFFFFF
##7A24AC1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#724668
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a24ac;
/* rgb */ color: rgb(122, 36, 172);
/* oklch */ color: oklch(46.4% 0.203 309.1);
Tailwind
colors: {
  custom: {
    50: '#a669c6',
    500: '#7a24ac',
    950: '#000000',
  },
}
SCSS
$custom: #7a24ac;
$custom-light: #a669c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24ac",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 277.941,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.2029,
    "h": 309.1
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#7A24AC
secondary
#89C666
accent
#E83F7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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