#7B24A5#7B24A5

#7B24A5 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.197 H 311.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7B24A5
RGBrgb(123, 36, 165)
HSLhsl(280, 64%, 39%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(25.5%, 78.2%, 0%, 35.3%)
CIE-LABlab(34.37, 56.56, -51.89)
CIE-LCHlch(34.37, 76.76, 317.47°)
OKLaboklab(45.97% 0.1307 -0.147)
OKLCHoklch(45.97% 0.197 311.7)
XYZxyz(15.5895, 8.1897, 36.3496)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A5 #4EA524
analogous
#3B24A5 #7B24A5 #A5248F
triadic
#7B24A5 #A57B24 #24A57B
tetradic
#7B24A5 #A53B24 #4EA524 #248FA5
square
#7B24A5 #A53B24 #4EA524 #248FA5
split-complementary
#7B24A5 #8FA524 #24A53B
monochromatic
#300E41 #561973 #7B24A5 #9F34D3 #B766DE

Accessibility & contrast

On white

7.96
#7B24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7B24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A5#FFFFFF#000000##FFFFFF
##7B24A51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0752A2
Tritanopia (blue-blind)
#764364
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b24a5;
/* rgb */ color: rgb(123, 36, 165);
/* oklch */ color: oklch(46.0% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#a669c0',
    500: '#7b24a5',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a5;
$custom-light: #a669c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a5",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 280.465,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.19669,
    "h": 311.7
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#7B24A5
secondary
#81C362
accent
#E74177
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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