#7A24BB#7A24BB

#7A24BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.217 H 304.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7A24BB
RGBrgb(122, 36, 187)
HSLhsl(274, 68%, 44%)
HSVhsv(274, 81%, 73%)
CMYKcmyk(34.8%, 80.7%, 0%, 26.7%)
CIE-LABlab(35.96, 61.16, -62.43)
CIE-LCHlch(35.96, 87.39, 314.41°)
OKLaboklab(47.59% 0.124 -0.178)
OKLCHoklch(47.59% 0.217 304.9)
XYZxyz(17.6245, 8.9873, 47.8103)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24BB #65BB24
analogous
#2E24BB #7A24BB #BB24B0
triadic
#7A24BB #BB7A24 #24BB7A
tetradic
#7A24BB #BB2E24 #65BB24 #24B0BB
square
#7A24BB #BB2E24 #65BB24 #24B0BB
split-complementary
#7A24BB #B0BB24 #24BB2E
monochromatic
#371054 #591A88 #7A24BB #9942DB #B475E4

Accessibility & contrast

On white

7.51
#7A24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7A24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A24BB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24BB#FFFFFF#000000##FFFFFF
##7A24BB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#6D4D71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a24bb;
/* rgb */ color: rgb(122, 36, 187);
/* oklch */ color: oklch(47.6% 0.217 304.9);
Tailwind
colors: {
  custom: {
    50: '#a76ad0',
    500: '#7a24bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a24bb;
$custom-light: #a76ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24bb",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 274.172,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.21691,
    "h": 304.9
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#7A24BB
secondary
#97CC6F
accent
#EB3D88
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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