#A24CBE#A24CBE

#A24CBE is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.184 H 317.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A24CBE
RGBrgb(162, 76, 190)
HSLhsl(285, 47%, 52%)
HSVhsv(285, 60%, 75%)
CMYKcmyk(14.7%, 60%, 0%, 25.5%)
CIE-LABlab(47.71, 53.16, -44.96)
CIE-LCHlch(47.71, 69.62, 319.78°)
OKLaboklab(57.19% 0.135 -0.1257)
OKLCHoklch(57.19% 0.184 317)
XYZxyz(26.7776, 16.5690, 50.4928)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CBE #68BE4C
analogous
#694CBE #A24CBE #BE4CA1
triadic
#A24CBE #BEA24C #4CBEA2
tetradic
#A24CBE #BE694C #68BE4C #4CA1BE
square
#A24CBE #BE694C #68BE4C #4CA1BE
split-complementary
#A24CBE #A1BE4C #4CBE69
monochromatic
#592669 #7F3796 #A24CBE #B979CE #D1A6DF

Accessibility & contrast

On white

4.87
#A24CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A24CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CBE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CBE#FFFFFF#000000##FFFFFF
##A24CBE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#A15F7E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24cbe;
/* rgb */ color: rgb(162, 76, 190);
/* oklch */ color: oklch(57.2% 0.184 317.0);
Tailwind
colors: {
  custom: {
    50: '#c083d2',
    500: '#a24cbe',
    950: '#000000',
  },
}
SCSS
$custom: #a24cbe;
$custom-light: #c083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cbe",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 285.263,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.18442,
    "h": 317
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#A24CBE
secondary
#A6CC9A
accent
#D65172
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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