#7A24A8#7A24A8

#7A24A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.1% C 0.199 H 310.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7A24A8
RGBrgb(122, 36, 168)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 66%)
CMYKcmyk(27.4%, 78.6%, 0%, 34.1%)
CIE-LABlab(34.45, 57.02, -53.58)
CIE-LCHlch(34.45, 78.24, 316.78°)
OKLaboklab(46.07% 0.1288 -0.152)
OKLCHoklch(46.07% 0.199 310.3)
XYZxyz(15.7234, 8.2268, 37.7978)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A8 #52A824
analogous
#3824A8 #7A24A8 #A82494
triadic
#7A24A8 #A87A24 #24A87A
tetradic
#7A24A8 #A83824 #52A824 #2494A8
square
#7A24A8 #A83824 #52A824 #2494A8
split-complementary
#7A24A8 #94A824 #24A838
monochromatic
#310E43 #551976 #7A24A8 #9D35D4 #B568DF

Accessibility & contrast

On white

7.94
#7A24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7A24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24A8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A8#FFFFFF#000000##FFFFFF
##7A24A81.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#734566
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a24a8;
/* rgb */ color: rgb(122, 36, 168);
/* oklch */ color: oklch(46.1% 0.199 310.3);
Tailwind
colors: {
  custom: {
    50: '#a569c3',
    500: '#7a24a8',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a8;
$custom-light: #a569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a8",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 279.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46066,
    "c": 0.19918,
    "h": 310.3
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#7A24A8
secondary
#85C463
accent
#E8407B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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