#A24CD5#A24CD5

#A24CD5 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.208 H 310.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A24CD5
RGBrgb(162, 76, 213)
HSLhsl(278, 62%, 57%)
HSVhsv(278, 64%, 84%)
CMYKcmyk(23.9%, 64.3%, 0%, 16.5%)
CIE-LABlab(49.08, 58.01, -56.02)
CIE-LCHlch(49.08, 80.64, 316.00°)
OKLaboklab(58.62% 0.1346 -0.1581)
OKLCHoklch(58.62% 0.208 310.4)
XYZxyz(29.4927, 17.6550, 64.7920)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD5 #7FD54C
analogous
#5E4CD5 #A24CD5 #D54CC4
triadic
#A24CD5 #D5A24C #4CD5A2
tetradic
#A24CD5 #D55E4C #7FD54C #4CC4D5
square
#A24CD5 #D55E4C #7FD54C #4CC4D5
split-complementary
#A24CD5 #C4D54C #4CD55E
monochromatic
#602087 #842BB9 #A24CD5 #BC7EE1 #D6AFEC

Accessibility & contrast

On white

4.63
#A24CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A24CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CD5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD5#FFFFFF#000000##FFFFFF
##A24CD51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#9B688A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24cd5;
/* rgb */ color: rgb(162, 76, 213);
/* oklch */ color: oklch(58.6% 0.208 310.4);
Tailwind
colors: {
  custom: {
    50: '#c183e3',
    500: '#a24cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd5;
$custom-light: #c183e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd5",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 277.664,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.20763,
    "h": 310.4
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#A24CD5
secondary
#B7DAA2
accent
#E5437F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A24CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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