#7A24B7#7A24B7

#7A24B7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.213 H 305.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7A24B7
RGBrgb(122, 36, 183)
HSLhsl(275, 67%, 43%)
HSVhsv(275, 80%, 72%)
CMYKcmyk(33.3%, 80.3%, 0%, 28.2%)
CIE-LABlab(35.63, 60.27, -60.60)
CIE-LCHlch(35.63, 85.47, 314.85°)
OKLaboklab(47.26% 0.1251 -0.1726)
OKLCHoklch(47.26% 0.213 305.9)
XYZxyz(17.2023, 8.8184, 45.5864)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24B7 #61B724
analogous
#3024B7 #7A24B7 #B724AA
triadic
#7A24B7 #B77A24 #24B77A
tetradic
#7A24B7 #B73024 #61B724 #24AAB7
square
#7A24B7 #B73024 #61B724 #24AAB7
split-complementary
#7A24B7 #AAB724 #24B730
monochromatic
#361051 #581A84 #7A24B7 #993FD9 #B472E3

Accessibility & contrast

On white

7.60
#7A24B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7A24B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24B7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24B7#FFFFFF#000000##FFFFFF
##7A24B71.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#6F4B6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a24b7;
/* rgb */ color: rgb(122, 36, 183);
/* oklch */ color: oklch(47.3% 0.213 305.9);
Tailwind
colors: {
  custom: {
    50: '#a66ace',
    500: '#7a24b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a24b7;
$custom-light: #a66ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24b7",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 183
  },
  "hsl": {
    "h": 275.102,
    "s": 67.123,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.21317,
    "h": 305.9
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#7A24B7
secondary
#93CA6D
accent
#EA3E85
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A24B7

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

Preview Lab → · Contrast checker → · Palette generator →

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