#7A24B5#7A24B5

#7A24B5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.211 H 306.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7A24B5
RGBrgb(122, 36, 181)
HSLhsl(276, 67%, 43%)
HSVhsv(276, 80%, 71%)
CMYKcmyk(32.6%, 80.1%, 0%, 29%)
CIE-LABlab(35.47, 59.83, -59.68)
CIE-LCHlch(35.47, 84.51, 315.08°)
OKLaboklab(47.1% 0.1256 -0.1699)
OKLCHoklch(47.1% 0.211 306.5)
XYZxyz(16.9956, 8.7357, 44.4979)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24B5 #5FB524
analogous
#3124B5 #7A24B5 #B524A8
triadic
#7A24B5 #B57A24 #24B57A
tetradic
#7A24B5 #B53124 #5FB524 #24A8B5
square
#7A24B5 #B53124 #5FB524 #24A8B5
split-complementary
#7A24B5 #A8B524 #24B531
monochromatic
#35104F #581A82 #7A24B5 #9A3ED9 #B471E3

Accessibility & contrast

On white

7.64
#7A24B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7A24B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24B5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24B5#FFFFFF#000000##FFFFFF
##7A24B51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6F4A6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a24b5;
/* rgb */ color: rgb(122, 36, 181);
/* oklch */ color: oklch(47.1% 0.211 306.5);
Tailwind
colors: {
  custom: {
    50: '#a66acc',
    500: '#7a24b5',
    950: '#000000',
  },
}
SCSS
$custom: #7a24b5;
$custom-light: #a66acc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24b5",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 275.586,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.2113,
    "h": 306.5
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#7A24B5
secondary
#92C96B
accent
#EA3E84
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24B5

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

Preview Lab → · Contrast checker → · Palette generator →

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