#7F24AD#7F24AD

#7F24AD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.205 H 310.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7F24AD
RGBrgb(127, 36, 173)
HSLhsl(280, 66%, 41%)
HSVhsv(280, 79%, 68%)
CMYKcmyk(26.6%, 79.2%, 0%, 32.2%)
CIE-LABlab(35.58, 58.97, -54.71)
CIE-LCHlch(35.58, 80.44, 317.15°)
OKLaboklab(47.13% 0.1344 -0.1551)
OKLCHoklch(47.13% 0.205 310.9)
XYZxyz(16.9246, 8.7913, 40.3324)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24AD #52AD24
analogous
#3A24AD #7F24AD #AD2496
triadic
#7F24AD #AD7F24 #24AD7F
tetradic
#7F24AD #AD3A24 #52AD24 #2496AD
square
#7F24AD #AD3A24 #52AD24 #2496AD
split-complementary
#7F24AD #96AD24 #24AD3A
monochromatic
#350F48 #5A197A #7F24AD #A139D6 #B96BE0

Accessibility & contrast

On white

7.61
#7F24AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7F24AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24AD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24AD#FFFFFF#000000##FFFFFF
##7F24AD1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#794669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f24ad;
/* rgb */ color: rgb(127, 36, 173);
/* oklch */ color: oklch(47.1% 0.205 310.9);
Tailwind
colors: {
  custom: {
    50: '#a96ac6',
    500: '#7f24ad',
    950: '#000000',
  },
}
SCSS
$custom: #7f24ad;
$custom-light: #a96ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24ad",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 279.854,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.20524,
    "h": 310.9
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#7F24AD
secondary
#87C666
accent
#E93F78
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F24AD

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

Preview Lab → · Contrast checker → · Palette generator →

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