#A24CCB#A24CCB

#A24CCB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.197 H 313.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A24CCB
RGBrgb(162, 76, 203)
HSLhsl(281, 55%, 55%)
HSVhsv(281, 63%, 80%)
CMYKcmyk(20.2%, 62.6%, 0%, 20.4%)
CIE-LABlab(48.46, 55.86, -51.27)
CIE-LCHlch(48.46, 75.83, 317.46°)
OKLaboklab(57.98% 0.135 -0.1441)
OKLCHoklch(57.98% 0.197 313.1)
XYZxyz(28.2624, 17.1629, 58.3123)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CCB #75CB4C
analogous
#634CCB #A24CCB #CB4CB4
triadic
#A24CCB #CBA24C #4CCBA2
tetradic
#A24CCB #CB634C #75CB4C #4CB4CB
square
#A24CCB #CB634C #75CB4C #4CB4CB
split-complementary
#A24CCB #B4CB4C #4CCB63
monochromatic
#5E2379 #8231A9 #A24CCB #BB7BD9 #D3ABE7

Accessibility & contrast

On white

4.74
#A24CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A24CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CCB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CCB#FFFFFF#000000##FFFFFF
##A24CCB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FCF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#9E6485
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a24ccb;
/* rgb */ color: rgb(162, 76, 203);
/* oklch */ color: oklch(58.0% 0.197 313.1);
Tailwind
colors: {
  custom: {
    50: '#c183db',
    500: '#a24ccb',
    950: '#000000',
  },
}
SCSS
$custom: #a24ccb;
$custom-light: #c183db;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ccb",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 280.63,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.19749,
    "h": 313.1
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#A24CCB
secondary
#B0D49F
accent
#DE497A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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