#A24FC7#A24FC7

#A24FC7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.189 H 314.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A24FC7
RGBrgb(162, 79, 199)
HSLhsl(282, 52%, 55%)
HSVhsv(282, 60%, 78%)
CMYKcmyk(18.6%, 60.3%, 0%, 22%)
CIE-LABlab(48.76, 53.58, -48.50)
CIE-LCHlch(48.76, 72.27, 317.85°)
OKLaboklab(58.12% 0.1314 -0.136)
OKLCHoklch(58.12% 0.189 314)
XYZxyz(28.0034, 17.3977, 55.9047)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FC7 #74C74F
analogous
#664FC7 #A24FC7 #C74FB0
triadic
#A24FC7 #C7A24F #4FC7A2
tetradic
#A24FC7 #C7664F #74C74F #4FB0C7
square
#A24FC7 #C7664F #74C74F #4FB0C7
split-complementary
#A24FC7 #B0C74F #4FC766
monochromatic
#5D2676 #8234A4 #A24FC7 #BB7DD6 #D3ACE5

Accessibility & contrast

On white

4.69
#A24FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A24FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FC7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FC7#FFFFFF#000000##FFFFFF
##A24FC71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#9F6484
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24fc7;
/* rgb */ color: rgb(162, 79, 199);
/* oklch */ color: oklch(58.1% 0.189 314.0);
Tailwind
colors: {
  custom: {
    50: '#c185d8',
    500: '#a24fc7',
    950: '#000000',
  },
}
SCSS
$custom: #a24fc7;
$custom-light: #c185d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fc7",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 281.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.18912,
    "h": 314
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#A24FC7
secondary
#AFD2A0
accent
#DB4D79
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A24FC7

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

Preview Lab → · Contrast checker → · Palette generator →

#A24FC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva