#A24DBF#A24DBF

#A24DBF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.184 H 316.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A24DBF
RGBrgb(162, 77, 191)
HSLhsl(285, 47%, 53%)
HSVhsv(285, 60%, 75%)
CMYKcmyk(15.2%, 59.7%, 0%, 25.1%)
CIE-LABlab(47.95, 52.88, -45.17)
CIE-LCHlch(47.95, 69.54, 319.50°)
OKLaboklab(57.38% 0.1337 -0.1263)
OKLCHoklch(57.38% 0.184 316.6)
XYZxyz(26.9567, 16.7517, 51.0935)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DBF #6ABF4D
analogous
#694DBF #A24DBF #BF4DA3
triadic
#A24DBF #BFA24D #4DBFA2
tetradic
#A24DBF #BF694D #6ABF4D #4DA3BF
square
#A24DBF #BF694D #6ABF4D #4DA3BF
split-complementary
#A24DBF #A3BF4D #4DBF69
monochromatic
#5A276B #7F3798 #A24DBF #BA7ACF #D1A7DF

Accessibility & contrast

On white

4.83
#A24DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A24DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DBF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DBF#FFFFFF#000000##FFFFFF
##A24DBF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#A1607F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a24dbf;
/* rgb */ color: rgb(162, 77, 191);
/* oklch */ color: oklch(57.4% 0.184 316.6);
Tailwind
colors: {
  custom: {
    50: '#c083d3',
    500: '#a24dbf',
    950: '#000000',
  },
}
SCSS
$custom: #a24dbf;
$custom-light: #c083d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dbf",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 284.737,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.18394,
    "h": 316.6
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#A24DBF
secondary
#A8CD9B
accent
#D75173
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A24DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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