#7F24AE#7F24AE

#7F24AE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.206 H 310.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7F24AE
RGBrgb(127, 36, 174)
HSLhsl(280, 66%, 41%)
HSVhsv(280, 79%, 68%)
CMYKcmyk(27%, 79.3%, 0%, 31.8%)
CIE-LABlab(35.66, 59.18, -55.18)
CIE-LCHlch(35.66, 80.91, 317.00°)
OKLaboklab(47.21% 0.1342 -0.1565)
OKLCHoklch(47.21% 0.206 310.6)
XYZxyz(17.0218, 8.8302, 40.8439)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24AE #53AE24
analogous
#3A24AE #7F24AE #AE2498
triadic
#7F24AE #AE7F24 #24AE7F
tetradic
#7F24AE #AE3A24 #53AE24 #2498AE
square
#7F24AE #AE3A24 #53AE24 #2498AE
split-complementary
#7F24AE #98AE24 #24AE3A
monochromatic
#350F49 #5A1A7B #7F24AE #A139D6 #B96CE1

Accessibility & contrast

On white

7.59
#7F24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7F24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24AE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24AE#FFFFFF#000000##FFFFFF
##7F24AE1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#784769
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f24ae;
/* rgb */ color: rgb(127, 36, 174);
/* oklch */ color: oklch(47.2% 0.206 310.6);
Tailwind
colors: {
  custom: {
    50: '#a96ac7',
    500: '#7f24ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f24ae;
$custom-light: #a96ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24ae",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 279.565,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47207,
    "c": 0.20615,
    "h": 310.6
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#7F24AE
secondary
#88C767
accent
#E93F79
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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