#7A24A7#7A24A7

#7A24A7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.198 H 310.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7A24A7
RGBrgb(122, 36, 167)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 78%, 65%)
CMYKcmyk(26.9%, 78.4%, 0%, 34.5%)
CIE-LABlab(34.37, 56.80, -53.10)
CIE-LCHlch(34.37, 77.76, 316.93°)
OKLaboklab(45.99% 0.129 -0.1506)
OKLCHoklch(45.99% 0.198 310.6)
XYZxyz(15.6306, 8.1897, 37.3091)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24A7 #51A724
analogous
#3824A7 #7A24A7 #A72493
triadic
#7A24A7 #A77A24 #24A77A
tetradic
#7A24A7 #A73824 #51A724 #2493A7
square
#7A24A7 #A73824 #51A724 #2493A7
split-complementary
#7A24A7 #93A724 #24A738
monochromatic
#300E42 #551975 #7A24A7 #9D35D3 #B567DE

Accessibility & contrast

On white

7.96
#7A24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24A7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24A7#FFFFFF#000000##FFFFFF
##7A24A71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#744465
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a24a7;
/* rgb */ color: rgb(122, 36, 167);
/* oklch */ color: oklch(46.0% 0.198 310.6);
Tailwind
colors: {
  custom: {
    50: '#a569c2',
    500: '#7a24a7',
    950: '#000000',
  },
}
SCSS
$custom: #7a24a7;
$custom-light: #a569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24a7",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 279.389,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45989,
    "c": 0.19825,
    "h": 310.6
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#7A24A7
secondary
#84C463
accent
#E8407A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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