#A24CBA#A24CBA

#A24CBA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.180 H 318.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A24CBA
RGBrgb(162, 76, 186)
HSLhsl(287, 44%, 51%)
HSVhsv(287, 59%, 73%)
CMYKcmyk(12.9%, 59.1%, 0%, 27.1%)
CIE-LABlab(47.49, 52.34, -42.98)
CIE-LCHlch(47.49, 67.73, 320.61°)
OKLaboklab(56.96% 0.1348 -0.1199)
OKLCHoklch(56.96% 0.18 318.3)
XYZxyz(26.3465, 16.3965, 48.2219)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CBA #64BA4C
analogous
#6B4CBA #A24CBA #BA4C9B
triadic
#A24CBA #BAA24C #4CBAA2
tetradic
#A24CBA #BA6B4C #64BA4C #4C9BBA
square
#A24CBA #BA6B4C #64BA4C #4C9BBA
split-complementary
#A24CBA #9BBA4C #4CBA6B
monochromatic
#572765 #7E3891 #A24CBA #B978CB #D0A4DC

Accessibility & contrast

On white

4.91
#A24CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A24CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CBA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CBA#FFFFFF#000000##FFFFFF
##A24CBA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#5174B7
Tritanopia (blue-blind)
#A25E7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24cba;
/* rgb */ color: rgb(162, 76, 186);
/* oklch */ color: oklch(57.0% 0.180 318.3);
Tailwind
colors: {
  custom: {
    50: '#c083cf',
    500: '#a24cba',
    950: '#000000',
  },
}
SCSS
$custom: #a24cba;
$custom-light: #c083cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cba",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 286.909,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.18044,
    "h": 318.3
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#A24CBA
secondary
#A3C999
accent
#D45470
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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