#7F24AC#7F24AC

#7F24AC is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.204 H 311.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7F24AC
RGBrgb(127, 36, 172)
HSLhsl(280, 65%, 41%)
HSVhsv(280, 79%, 67%)
CMYKcmyk(26.2%, 79.1%, 0%, 32.5%)
CIE-LABlab(35.50, 58.76, -54.23)
CIE-LCHlch(35.50, 79.96, 317.30°)
OKLaboklab(47.05% 0.1346 -0.1537)
OKLCHoklch(47.05% 0.204 311.2)
XYZxyz(16.8282, 8.7528, 39.8247)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24AC #51AC24
analogous
#3B24AC #7F24AC #AC2495
triadic
#7F24AC #AC7F24 #24AC7F
tetradic
#7F24AC #AC3B24 #51AC24 #2495AC
square
#7F24AC #AC3B24 #51AC24 #2495AC
split-complementary
#7F24AC #95AC24 #24AC3B
monochromatic
#340F47 #5A1979 #7F24AC #A138D5 #B96AE0

Accessibility & contrast

On white

7.64
#7F24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7F24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24AC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24AC#FFFFFF#000000##FFFFFF
##7F24AC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#794668
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f24ac;
/* rgb */ color: rgb(127, 36, 172);
/* oklch */ color: oklch(47.1% 0.204 311.2);
Tailwind
colors: {
  custom: {
    50: '#a96ac6',
    500: '#7f24ac',
    950: '#000000',
  },
}
SCSS
$custom: #7f24ac;
$custom-light: #a96ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24ac",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 280.147,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.20433,
    "h": 311.2
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#7F24AC
secondary
#86C666
accent
#E83F77
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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