#A24FD7#A24FD7

#A24FD7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.206 H 309.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A24FD7
RGBrgb(162, 79, 215)
HSLhsl(277, 63%, 58%)
HSVhsv(277, 63%, 84%)
CMYKcmyk(24.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(49.71, 57.03, -56.14)
CIE-LCHlch(49.71, 80.02, 315.45°)
OKLaboklab(59.12% 0.1311 -0.1584)
OKLCHoklch(59.12% 0.206 309.6)
XYZxyz(29.9596, 18.1802, 66.2077)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FD7 #84D74F
analogous
#5E4FD7 #A24FD7 #D74FC8
triadic
#A24FD7 #D7A24F #4FD7A2
tetradic
#A24FD7 #D75E4F #84D74F #4FC8D7
square
#A24FD7 #D75E4F #84D74F #4FC8D7
split-complementary
#A24FD7 #C8D74F #4FD75E
monochromatic
#62208C #852BBE #A24FD7 #BC81E2 #D7B3EE

Accessibility & contrast

On white

4.53
#A24FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A24FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FD7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FD7#FFFFFF#000000##000000
##A24FD71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#3C77D4
Tritanopia (blue-blind)
#9B6A8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a24fd7;
/* rgb */ color: rgb(162, 79, 215);
/* oklch */ color: oklch(59.1% 0.206 309.6);
Tailwind
colors: {
  custom: {
    50: '#c185e4',
    500: '#a24fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a24fd7;
$custom-light: #c185e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fd7",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 276.618,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59121,
    "c": 0.20562,
    "h": 309.6
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#A24FD7
secondary
#BBDCA6
accent
#E64282
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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