#7B24A0#7B24A0

#7B24A0 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.192 H 313.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7B24A0
RGBrgb(123, 36, 160)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 78%, 63%)
CMYKcmyk(23.1%, 77.5%, 0%, 37.3%)
CIE-LABlab(34.01, 55.51, -49.47)
CIE-LCHlch(34.01, 74.36, 318.30°)
OKLaboklab(45.6% 0.1317 -0.1399)
OKLCHoklch(45.6% 0.192 313.3)
XYZxyz(15.1433, 8.0113, 33.9995)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A0 #49A024
analogous
#3D24A0 #7B24A0 #A02487
triadic
#7B24A0 #A07B24 #24A07B
tetradic
#7B24A0 #A03D24 #49A024 #2487A0
square
#7B24A0 #A03D24 #49A024 #2487A0
split-complementary
#7B24A0 #87A024 #24A03D
monochromatic
#2E0E3C #55196E #7B24A0 #A131D1 #B863DC

Accessibility & contrast

On white

8.07
#7B24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A0#FFFFFF#000000##FFFFFF
##7B24A01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#774161
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b24a0;
/* rgb */ color: rgb(123, 36, 160);
/* oklch */ color: oklch(45.6% 0.192 313.3);
Tailwind
colors: {
  custom: {
    50: '#a569bd',
    500: '#7b24a0',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a0;
$custom-light: #a569bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a0",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 282.097,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.19209,
    "h": 313.3
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#7B24A0
secondary
#7CC15F
accent
#E64173
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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