#A24CBB#A24CBB

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

Color values

HEX#A24CBB
RGBrgb(162, 76, 187)
HSLhsl(286, 45%, 52%)
HSVhsv(286, 59%, 73%)
CMYKcmyk(13.4%, 59.4%, 0%, 26.7%)
CIE-LABlab(47.55, 52.55, -43.48)
CIE-LCHlch(47.55, 68.20, 320.40°)
OKLaboklab(57.02% 0.1349 -0.1214)
OKLCHoklch(57.02% 0.181 318)
XYZxyz(26.4531, 16.4392, 48.7837)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CBB #65BB4C
analogous
#6B4CBB #A24CBB #BB4C9D
triadic
#A24CBB #BBA24C #4CBBA2
tetradic
#A24CBB #BB6B4C #65BB4C #4C9DBB
square
#A24CBB #BB6B4C #65BB4C #4C9DBB
split-complementary
#A24CBB #9DBB4C #4CBB6B
monochromatic
#582766 #7E3892 #A24CBB #B978CC #D0A5DD

Accessibility & contrast

On white

4.90
#A24CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A24CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CBB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CBB#FFFFFF#000000##FFFFFF
##A24CBB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#A25E7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24cbb;
/* rgb */ color: rgb(162, 76, 187);
/* oklch */ color: oklch(57.0% 0.181 318.0);
Tailwind
colors: {
  custom: {
    50: '#c083d0',
    500: '#a24cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a24cbb;
$custom-light: #c083d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cbb",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 286.486,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.18144,
    "h": 318
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#A24CBB
secondary
#A4CA99
accent
#D55370
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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