#7B24A3#7B24A3

#7B24A3 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 312.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7B24A3
RGBrgb(123, 36, 163)
HSLhsl(281, 64%, 39%)
HSVhsv(281, 78%, 64%)
CMYKcmyk(24.5%, 77.9%, 0%, 36.1%)
CIE-LABlab(34.23, 56.14, -50.92)
CIE-LCHlch(34.23, 75.80, 317.79°)
OKLaboklab(45.82% 0.1311 -0.1441)
OKLCHoklch(45.82% 0.195 312.3)
XYZxyz(15.4089, 8.1175, 35.3984)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A3 #4CA324
analogous
#3B24A3 #7B24A3 #A3248C
triadic
#7B24A3 #A37B24 #24A37B
tetradic
#7B24A3 #A33B24 #4CA324 #248CA3
square
#7B24A3 #A33B24 #4CA324 #248CA3
split-complementary
#7B24A3 #8CA324 #24A33B
monochromatic
#2F0E3F #551971 #7B24A3 #A032D2 #B765DD

Accessibility & contrast

On white

8.00
#7B24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A3#FFFFFF#000000##FFFFFF
##7B24A31.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#764263
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b24a3;
/* rgb */ color: rgb(123, 36, 163);
/* oklch */ color: oklch(45.8% 0.195 312.3);
Tailwind
colors: {
  custom: {
    50: '#a669bf',
    500: '#7b24a3',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a3;
$custom-light: #a669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a3",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 281.102,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.19485,
    "h": 312.3
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#7B24A3
secondary
#7FC260
accent
#E74175
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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