#A24EBA#A24EBA

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

Color values

HEX#A24EBA
RGBrgb(162, 78, 186)
HSLhsl(287, 44%, 52%)
HSVhsv(287, 58%, 73%)
CMYKcmyk(12.9%, 58.1%, 0%, 27.1%)
CIE-LABlab(47.85, 51.37, -42.41)
CIE-LCHlch(47.85, 66.62, 320.46°)
OKLaboklab(57.22% 0.1323 -0.1183)
OKLCHoklch(57.22% 0.177 318.2)
XYZxyz(26.4864, 16.6764, 48.2685)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EBA #66BA4E
analogous
#6C4EBA #A24EBA #BA4E9C
triadic
#A24EBA #BAA24E #4EBAA2
tetradic
#A24EBA #BA6C4E #66BA4E #4E9CBA
square
#A24EBA #BA6C4E #66BA4E #4E9CBA
split-complementary
#A24EBA #9CBA4E #4EBA6C
monochromatic
#582866 #7E3992 #A24EBA #B97ACB #D0A6DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A24EBA#FFFFFF#000000##FFFFFF
##A24EBA1.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)
#346CBD
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#A25F7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a24eba;
/* rgb */ color: rgb(162, 78, 186);
/* oklch */ color: oklch(57.2% 0.177 318.2);
Tailwind
colors: {
  custom: {
    50: '#c084cf',
    500: '#a24eba',
    950: '#000000',
  },
}
SCSS
$custom: #a24eba;
$custom-light: #c084cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a24eba",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 286.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57224,
    "c": 0.17743,
    "h": 318.2
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A24EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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