#A24DBE#A24DBE

#A24DBE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.183 H 317.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A24DBE
RGBrgb(162, 77, 190)
HSLhsl(285, 47%, 52%)
HSVhsv(285, 59%, 75%)
CMYKcmyk(14.7%, 59.5%, 0%, 25.5%)
CIE-LABlab(47.89, 52.68, -44.67)
CIE-LCHlch(47.89, 69.07, 319.70°)
OKLaboklab(57.32% 0.1337 -0.1249)
OKLCHoklch(57.32% 0.183 317)
XYZxyz(26.8471, 16.7078, 50.5160)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DBE #69BE4D
analogous
#6A4DBE #A24DBE #BE4DA1
triadic
#A24DBE #BEA24D #4DBEA2
tetradic
#A24DBE #BE6A4D #69BE4D #4DA1BE
square
#A24DBE #BE6A4D #69BE4D #4DA1BE
split-complementary
#A24DBE #A1BE4D #4DBE6A
monochromatic
#59276A #7F3797 #A24DBE #B97ACE #D1A7DF

Accessibility & contrast

On white

4.84
#A24DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A24DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DBE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DBE#FFFFFF#000000##FFFFFF
##A24DBE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC2
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#A1607E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a24dbe;
/* rgb */ color: rgb(162, 77, 190);
/* oklch */ color: oklch(57.3% 0.183 317.0);
Tailwind
colors: {
  custom: {
    50: '#c083d2',
    500: '#a24dbe',
    950: '#000000',
  },
}
SCSS
$custom: #a24dbe;
$custom-light: #c083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dbe",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 285.133,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.18294,
    "h": 317
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#A24DBE
secondary
#A7CC9B
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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