#7F24A3#7F24A3

#7F24A3 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.196 H 314.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7F24A3
RGBrgb(127, 36, 163)
HSLhsl(283, 64%, 39%)
HSVhsv(283, 78%, 64%)
CMYKcmyk(22.1%, 77.9%, 0%, 36.1%)
CIE-LABlab(34.84, 56.90, -49.90)
CIE-LCHlch(34.84, 75.68, 318.75°)
OKLaboklab(46.38% 0.1364 -0.141)
OKLCHoklch(46.38% 0.196 314)
XYZxyz(15.9930, 8.4187, 35.4257)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24A3 #48A324
analogous
#4024A3 #7F24A3 #A32488
triadic
#7F24A3 #A37F24 #24A37F
tetradic
#7F24A3 #A34024 #48A324 #2488A3
square
#7F24A3 #A34024 #48A324 #2488A3
split-complementary
#7F24A3 #88A324 #24A340
monochromatic
#310E3F #581971 #7F24A3 #A532D2 #BB65DD

Accessibility & contrast

On white

7.83
#7F24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7F24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24A3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24A3#FFFFFF#000000##FFFFFF
##7F24A31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#7B4263
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f24a3;
/* rgb */ color: rgb(127, 36, 163);
/* oklch */ color: oklch(46.4% 0.196 314.0);
Tailwind
colors: {
  custom: {
    50: '#a86abf',
    500: '#7f24a3',
    950: '#000000',
  },
}
SCSS
$custom: #7f24a3;
$custom-light: #a86abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24a3",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 282.992,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.19616,
    "h": 314
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#7F24A3
secondary
#7CC260
accent
#E74170
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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