#A24CBF#A24CBF

#A24CBF is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.185 H 316.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A24CBF
RGBrgb(162, 76, 191)
HSLhsl(285, 47%, 52%)
HSVhsv(285, 60%, 75%)
CMYKcmyk(15.2%, 60.2%, 0%, 25.1%)
CIE-LABlab(47.77, 53.36, -45.45)
CIE-LCHlch(47.77, 70.09, 319.58°)
OKLaboklab(57.25% 0.135 -0.1271)
OKLCHoklch(57.25% 0.185 316.7)
XYZxyz(26.8873, 16.6128, 51.0704)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CBF #69BF4C
analogous
#694CBF #A24CBF #BF4CA2
triadic
#A24CBF #BFA24C #4CBFA2
tetradic
#A24CBF #BF694C #69BF4C #4CA2BF
square
#A24CBF #BF694C #69BF4C #4CA2BF
split-complementary
#A24CBF #A2BF4C #4CBF69
monochromatic
#59266B #7F3698 #A24CBF #B979CF #D1A6DF

Accessibility & contrast

On white

4.86
#A24CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A24CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CBF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CBF#FFFFFF#000000##FFFFFF
##A24CBF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#A1607E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24cbf;
/* rgb */ color: rgb(162, 76, 191);
/* oklch */ color: oklch(57.3% 0.185 316.7);
Tailwind
colors: {
  custom: {
    50: '#c083d3',
    500: '#a24cbf',
    950: '#000000',
  },
}
SCSS
$custom: #a24cbf;
$custom-light: #c083d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cbf",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 284.87,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.18542,
    "h": 316.7
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#A24CBF
secondary
#A7CC9A
accent
#D75173
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A24CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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