#7F24AF#7F24AF

#7F24AF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.207 H 310.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7F24AF
RGBrgb(127, 36, 175)
HSLhsl(279, 66%, 41%)
HSVhsv(279, 79%, 69%)
CMYKcmyk(27.4%, 79.4%, 0%, 31.4%)
CIE-LABlab(35.73, 59.39, -55.65)
CIE-LCHlch(35.73, 81.39, 316.86°)
OKLaboklab(47.29% 0.134 -0.1579)
OKLCHoklch(47.29% 0.207 310.3)
XYZxyz(17.1196, 8.8693, 41.3592)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24AF #54AF24
analogous
#3A24AF #7F24AF #AF249A
triadic
#7F24AF #AF7F24 #24AF7F
tetradic
#7F24AF #AF3A24 #54AF24 #249AAF
square
#7F24AF #AF3A24 #54AF24 #249AAF
split-complementary
#7F24AF #9AAF24 #24AF3A
monochromatic
#350F49 #5A1A7C #7F24AF #A03AD6 #B96DE1

Accessibility & contrast

On white

7.57
#7F24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F24AF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24AF#FFFFFF#000000##FFFFFF
##7F24AF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#78476A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f24af;
/* rgb */ color: rgb(127, 36, 175);
/* oklch */ color: oklch(47.3% 0.207 310.3);
Tailwind
colors: {
  custom: {
    50: '#a96ac8',
    500: '#7f24af',
    950: '#000000',
  },
}
SCSS
$custom: #7f24af;
$custom-light: #a96ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24af",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 279.281,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.20707,
    "h": 310.3
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#7F24AF
secondary
#89C768
accent
#E93F7A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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