#7A24B0#7A24B0

#7A24B0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.207 H 307.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7A24B0
RGBrgb(122, 36, 176)
HSLhsl(277, 66%, 42%)
HSVhsv(277, 80%, 69%)
CMYKcmyk(30.7%, 79.5%, 0%, 31%)
CIE-LABlab(35.07, 58.74, -57.35)
CIE-LCHlch(35.07, 82.10, 315.68°)
OKLaboklab(46.7% 0.1269 -0.1631)
OKLCHoklch(46.7% 0.207 307.9)
XYZxyz(16.4917, 8.5342, 41.8443)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24B0 #5AB024
analogous
#3424B0 #7A24B0 #B024A0
triadic
#7A24B0 #B07A24 #24B07A
tetradic
#7A24B0 #B03424 #5AB024 #24A0B0
square
#7A24B0 #B03424 #5AB024 #24A0B0
split-complementary
#7A24B0 #A0B024 #24B034
monochromatic
#340F4A #571A7D #7A24B0 #9A3AD7 #B46DE1

Accessibility & contrast

On white

7.76
#7A24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24B0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24B0#FFFFFF#000000##FFFFFF
##7A24B01.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#71486A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a24b0;
/* rgb */ color: rgb(122, 36, 176);
/* oklch */ color: oklch(46.7% 0.207 307.9);
Tailwind
colors: {
  custom: {
    50: '#a66ac9',
    500: '#7a24b0',
    950: '#000000',
  },
}
SCSS
$custom: #7a24b0;
$custom-light: #a66ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24b0",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 276.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.20663,
    "h": 307.9
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#7A24B0
secondary
#8DC868
accent
#E93F80
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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