#7A24C1#7A24C1

#7A24C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.223 H 303.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7A24C1
RGBrgb(122, 36, 193)
HSLhsl(273, 69%, 45%)
HSVhsv(273, 81%, 76%)
CMYKcmyk(36.8%, 81.3%, 0%, 24.3%)
CIE-LABlab(36.46, 62.49, -65.14)
CIE-LCHlch(36.46, 90.27, 313.81°)
OKLaboklab(48.09% 0.1223 -0.1859)
OKLCHoklch(48.09% 0.223 303.3)
XYZxyz(18.2803, 9.2496, 51.2640)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24C1 #6BC124
analogous
#2B24C1 #7A24C1 #C124BA
triadic
#7A24C1 #C17A24 #24C17A
tetradic
#7A24C1 #C12B24 #6BC124 #24BAC1
square
#7A24C1 #C12B24 #6BC124 #24BAC1
split-complementary
#7A24C1 #BAC124 #24C12B
monochromatic
#39115A #591A8D #7A24C1 #9846DC #B579E6

Accessibility & contrast

On white

7.37
#7A24C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7A24C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24C1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24C1#FFFFFF#000000##FFFFFF
##7A24C11.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#6B5074
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a24c1;
/* rgb */ color: rgb(122, 36, 193);
/* oklch */ color: oklch(48.1% 0.223 303.3);
Tailwind
colors: {
  custom: {
    50: '#a76ad5',
    500: '#7a24c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a24c1;
$custom-light: #a76ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24c1",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 272.866,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.22254,
    "h": 303.3
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#7A24C1
secondary
#9CCE73
accent
#EB3C8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A24C1

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

Preview Lab → · Contrast checker → · Palette generator →

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