#7B24A6#7B24A6

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

Color values

HEX#7B24A6
RGBrgb(123, 36, 166)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(25.9%, 78.3%, 0%, 34.9%)
CIE-LABlab(34.45, 56.77, -52.37)
CIE-LCHlch(34.45, 77.24, 317.31°)
OKLaboklab(46.05% 0.1305 -0.1484)
OKLCHoklch(46.05% 0.198 311.3)
XYZxyz(15.6809, 8.2263, 36.8308)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A6 #4FA624
analogous
#3A24A6 #7B24A6 #A62490
triadic
#7B24A6 #A67B24 #24A67B
tetradic
#7B24A6 #A63A24 #4FA624 #2490A6
square
#7B24A6 #A63A24 #4FA624 #2490A6
split-complementary
#7B24A6 #90A624 #24A63A
monochromatic
#300E41 #561974 #7B24A6 #9E34D3 #B666DE

Accessibility & contrast

On white

7.94
#7B24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A6#FFFFFF#000000##FFFFFF
##7B24A61.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0352A3
Tritanopia (blue-blind)
#754465
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b24a6;
/* rgb */ color: rgb(123, 36, 166);
/* oklch */ color: oklch(46.0% 0.198 311.3);
Tailwind
colors: {
  custom: {
    50: '#a669c1',
    500: '#7b24a6',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a6;
$custom-light: #a669c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a6",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 280.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.19762,
    "h": 311.3
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#7B24A6
secondary
#82C462
accent
#E74078
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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