#A24FE4#A24FE4

#A24FE4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.219 H 306.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A24FE4
RGBrgb(162, 79, 228)
HSLhsl(273, 73%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(28.9%, 65.4%, 0%, 10.6%)
CIE-LABlab(50.54, 59.92, -62.18)
CIE-LCHlch(50.54, 86.36, 313.94°)
OKLaboklab(59.98% 0.1302 -0.1762)
OKLCHoklch(59.98% 0.219 306.5)
XYZxyz(31.6969, 18.8751, 75.3572)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FE4 #91E44F
analogous
#584FE4 #A24FE4 #E44FDB
triadic
#A24FE4 #E4A24F #4FE4A2
tetradic
#A24FE4 #E4584F #91E44F #4FDBE4
square
#A24FE4 #E4584F #91E44F #4FDBE4
split-complementary
#A24FE4 #DBE44F #4FE458
monochromatic
#6419A0 #8521D5 #A24FE4 #BE84EC #DAB9F4

Accessibility & contrast

On white

4.40
#A24FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A24FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FE4#FFFFFF#000000##000000
##A24FE41.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#976F93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24fe4;
/* rgb */ color: rgb(162, 79, 228);
/* oklch */ color: oklch(60.0% 0.219 306.5);
Tailwind
colors: {
  custom: {
    50: '#c286ed',
    500: '#a24fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a24fe4;
$custom-light: #c286ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fe4",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 273.423,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.21906,
    "h": 306.5
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#A24FE4
secondary
#C4E4AB
accent
#D61067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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