#A24DB0#A24DB0

#A24DB0 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.5% C 0.169 H 321.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A24DB0
RGBrgb(162, 77, 176)
HSLhsl(292, 39%, 50%)
HSVhsv(292, 56%, 69%)
CMYKcmyk(8%, 56.2%, 0%, 31%)
CIE-LABlab(47.14, 49.87, -37.70)
CIE-LCHlch(47.14, 62.51, 322.92°)
OKLaboklab(56.53% 0.1329 -0.1046)
OKLCHoklch(56.53% 0.169 321.8)
XYZxyz(25.3898, 16.1249, 42.8409)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DB0 #5BB04D
analogous
#714DB0 #A24DB0 #B04D8D
triadic
#A24DB0 #B0A24D #4DB0A2
tetradic
#A24DB0 #B0714D #5BB04D #4D8DB0
square
#A24DB0 #B0714D #5BB04D #4D8DB0
split-complementary
#A24DB0 #8DB04D #4DB071
monochromatic
#54285B #7B3A85 #A24DB0 #B977C3 #CFA1D6

Accessibility & contrast

On white

4.97
#A24DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A24DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DB0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DB0#FFFFFF#000000##FFFFFF
##A24DB01.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB3
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#A45B77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a24db0;
/* rgb */ color: rgb(162, 77, 176);
/* oklch */ color: oklch(56.5% 0.169 321.8);
Tailwind
colors: {
  custom: {
    50: '#c083c8',
    500: '#a24db0',
    950: '#000000',
  },
}
SCSS
$custom: #a24db0;
$custom-light: #c083c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a24db0",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 291.515,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.16908,
    "h": 321.8
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#A24DB0
secondary
#9CC396
accent
#CF5969
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A24DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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