#7F24D9#7F24D9

#7F24D9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.8% C 0.246 H 299.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7F24D9
RGBrgb(127, 36, 217)
HSLhsl(270, 72%, 50%)
HSVhsv(270, 83%, 85%)
CMYKcmyk(41.5%, 83.4%, 0%, 14.9%)
CIE-LABlab(39.21, 68.56, -74.54)
CIE-LCHlch(39.21, 101.28, 312.61°)
OKLaboklab(50.78% 0.1218 -0.2134)
OKLCHoklch(50.78% 0.246 299.7)
XYZxyz(21.9045, 10.7833, 66.5595)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24D9 #7ED924
analogous
#2524D9 #7F24D9 #D924D9
triadic
#7F24D9 #D97F24 #24D97F
tetradic
#7F24D9 #D92524 #7ED924 #24D9D9
square
#7F24D9 #D92524 #7ED924 #24D9D9
split-complementary
#7F24D9 #D9D924 #24D925
monochromatic
#421370 #601BA5 #7F24D9 #9D57E3 #BC8CEC

Accessibility & contrast

On white

6.65
#7F24D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F24D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F24D9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24D9#FFFFFF#000000##FFFFFF
##7F24D91.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#695A82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f24d9;
/* rgb */ color: rgb(127, 36, 217);
/* oklch */ color: oklch(50.8% 0.246 299.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ce6',
    500: '#7f24d9',
    950: '#000000',
  },
}
SCSS
$custom: #7f24d9;
$custom-light: #ad6ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24d9",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 270.166,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.24568,
    "h": 299.7
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#7F24D9
secondary
#ACD683
accent
#EE3A93
background
#FBF6FE
surface
#F6ECFD
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7F24D9

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

Preview Lab → · Contrast checker → · Palette generator →

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