#A24CD9#A24CD9

#A24CD9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.212 H 309.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A24CD9
RGBrgb(162, 76, 217)
HSLhsl(277, 65%, 57%)
HSVhsv(277, 65%, 85%)
CMYKcmyk(25.3%, 65%, 0%, 14.9%)
CIE-LABlab(49.33, 58.88, -57.90)
CIE-LCHlch(49.33, 82.58, 315.48°)
OKLaboklab(58.88% 0.1344 -0.1636)
OKLCHoklch(58.88% 0.212 309.4)
XYZxyz(30.0066, 17.8606, 67.4989)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD9 #83D94C
analogous
#5C4CD9 #A24CD9 #D94CC9
triadic
#A24CD9 #D9A24C #4CD9A2
tetradic
#A24CD9 #D95C4C #83D94C #4CC9D9
square
#A24CD9 #D95C4C #83D94C #4CC9D9
split-complementary
#A24CD9 #C9D94C #4CD95C
monochromatic
#611E8D #8429BF #A24CD9 #BC7EE4 #D6B1EE

Accessibility & contrast

On white

4.59
#A24CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A24CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CD9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD9#FFFFFF#000000##FFFFFF
##A24CD91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#9A698C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24cd9;
/* rgb */ color: rgb(162, 76, 217);
/* oklch */ color: oklch(58.9% 0.212 309.4);
Tailwind
colors: {
  custom: {
    50: '#c283e5',
    500: '#a24cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd9;
$custom-light: #c283e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd9",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 276.596,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.2117,
    "h": 309.4
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#A24CD9
secondary
#BADDA4
accent
#E84081
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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