#A24CDD#A24CDD

#A24CDD is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.216 H 308.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A24CDD
RGBrgb(162, 76, 221)
HSLhsl(276, 68%, 58%)
HSVhsv(276, 66%, 87%)
CMYKcmyk(26.7%, 65.6%, 0%, 13.3%)
CIE-LABlab(49.58, 59.75, -59.76)
CIE-LCHlch(49.58, 84.51, 315.00°)
OKLaboklab(59.15% 0.1341 -0.169)
OKLCHoklch(59.15% 0.216 308.4)
XYZxyz(30.5332, 18.0712, 70.2722)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CDD #87DD4C
analogous
#594CDD #A24CDD #DD4CD0
triadic
#A24CDD #DDA24C #4CDDA2
tetradic
#A24CDD #DD594C #87DD4C #4CD0DD
square
#A24CDD #DD594C #87DD4C #4CD0DD
split-complementary
#A24CDD #D0DD4C #4CDD59
monochromatic
#621C93 #8526C6 #A24CDD #BD7FE7 #D7B3F1

Accessibility & contrast

On white

4.55
#A24CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A24CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24CDD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CDD#FFFFFF#000000##000000
##A24CDD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#996B8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a24cdd;
/* rgb */ color: rgb(162, 76, 221);
/* oklch */ color: oklch(59.1% 0.216 308.4);
Tailwind
colors: {
  custom: {
    50: '#c284e8',
    500: '#a24cdd',
    950: '#000000',
  },
}
SCSS
$custom: #a24cdd;
$custom-light: #c284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cdd",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 275.586,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.21577,
    "h": 308.4
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#A24CDD
secondary
#BDDFA6
accent
#EB3D84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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