#A24BCB#A24BCB

#A24BCB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.199 H 313.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A24BCB
RGBrgb(162, 75, 203)
HSLhsl(281, 55%, 55%)
HSVhsv(281, 63%, 80%)
CMYKcmyk(20.2%, 63.1%, 0%, 20.4%)
CIE-LABlab(48.29, 56.33, -51.55)
CIE-LCHlch(48.29, 76.36, 317.54°)
OKLaboklab(57.86% 0.1362 -0.1449)
OKLCHoklch(57.86% 0.199 313.2)
XYZxyz(28.1940, 17.0261, 58.2895)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BCB #74CB4B
analogous
#624BCB #A24BCB #CB4BB4
triadic
#A24BCB #CBA24B #4BCBA2
tetradic
#A24BCB #CB624B #74CB4B #4BB4CB
square
#A24BCB #CB624B #74CB4B #4BB4CB
split-complementary
#A24BCB #B4CB4B #4BCB62
monochromatic
#5D2379 #8231A8 #A24BCB #BB7AD9 #D3AAE6

Accessibility & contrast

On white

4.77
#A24BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A24BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24BCB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BCB#FFFFFF#000000##FFFFFF
##A24BCB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ECF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#9E6384
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a24bcb;
/* rgb */ color: rgb(162, 75, 203);
/* oklch */ color: oklch(57.9% 0.199 313.2);
Tailwind
colors: {
  custom: {
    50: '#c182db',
    500: '#a24bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a24bcb;
$custom-light: #c182db;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bcb",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 280.781,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.19888,
    "h": 313.2
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#A24BCB
secondary
#AFD49E
accent
#DF4979
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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