#A24CBD#A24CBD

#A24CBD is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.183 H 317.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A24CBD
RGBrgb(162, 76, 189)
HSLhsl(286, 46%, 52%)
HSVhsv(286, 60%, 74%)
CMYKcmyk(14.3%, 59.8%, 0%, 25.9%)
CIE-LABlab(47.66, 52.95, -44.46)
CIE-LCHlch(47.66, 69.15, 319.98°)
OKLaboklab(57.14% 0.1349 -0.1242)
OKLCHoklch(57.14% 0.183 317.4)
XYZxyz(26.6687, 16.5254, 49.9192)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CBD #67BD4C
analogous
#6A4CBD #A24CBD #BD4C9F
triadic
#A24CBD #BDA24C #4CBDA2
tetradic
#A24CBD #BD6A4C #67BD4C #4C9FBD
square
#A24CBD #BD6A4C #67BD4C #4C9FBD
split-complementary
#A24CBD #9FBD4C #4CBD6A
monochromatic
#582668 #7E3795 #A24CBD #B979CD #D0A5DE

Accessibility & contrast

On white

4.88
#A24CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A24CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CBD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CBD#FFFFFF#000000##FFFFFF
##A24CBD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#A15F7D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24cbd;
/* rgb */ color: rgb(162, 76, 189);
/* oklch */ color: oklch(57.1% 0.183 317.4);
Tailwind
colors: {
  custom: {
    50: '#c083d1',
    500: '#a24cbd',
    950: '#000000',
  },
}
SCSS
$custom: #a24cbd;
$custom-light: #c083d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cbd",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 285.664,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.18342,
    "h": 317.4
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#A24CBD
secondary
#A5CB9A
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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