#A24CD4#A24CD4

#A24CD4 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.207 H 310.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A24CD4
RGBrgb(162, 76, 212)
HSLhsl(278, 61%, 56%)
HSVhsv(278, 64%, 83%)
CMYKcmyk(23.6%, 64.2%, 0%, 16.9%)
CIE-LABlab(49.01, 57.79, -55.55)
CIE-LCHlch(49.01, 80.16, 316.13°)
OKLaboklab(58.56% 0.1347 -0.1567)
OKLCHoklch(58.56% 0.207 310.7)
XYZxyz(29.3661, 17.6044, 64.1256)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD4 #7ED44C
analogous
#5E4CD4 #A24CD4 #D44CC2
triadic
#A24CD4 #D4A24C #4CD4A2
tetradic
#A24CD4 #D45E4C #7ED44C #4CC2D4
square
#A24CD4 #D45E4C #7ED44C #4CC2D4
split-complementary
#A24CD4 #C2D44C #4CD45E
monochromatic
#602086 #842CB7 #A24CD4 #BC7DE0 #D5AFEC

Accessibility & contrast

On white

4.65
#A24CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A24CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CD4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD4#FFFFFF#000000##FFFFFF
##A24CD41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#9C6789
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24cd4;
/* rgb */ color: rgb(162, 76, 212);
/* oklch */ color: oklch(58.6% 0.207 310.7);
Tailwind
colors: {
  custom: {
    50: '#c183e2',
    500: '#a24cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd4;
$custom-light: #c183e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd4",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 277.941,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.20662,
    "h": 310.7
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#A24CD4
secondary
#B7DAA2
accent
#E4437F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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