#A24CB2#A24CB2

#A24CB2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.5% C 0.173 H 321.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A24CB2
RGBrgb(162, 76, 178)
HSLhsl(291, 40%, 50%)
HSVhsv(291, 57%, 70%)
CMYKcmyk(9%, 57.3%, 0%, 30.2%)
CIE-LABlab(47.06, 50.75, -38.99)
CIE-LCHlch(47.06, 64.00, 322.47°)
OKLaboklab(56.51% 0.1344 -0.1083)
OKLCHoklch(56.51% 0.173 321.1)
XYZxyz(25.5197, 16.0658, 43.8676)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CB2 #5CB24C
analogous
#6F4CB2 #A24CB2 #B24C8F
triadic
#A24CB2 #B2A24C #4CB2A2
tetradic
#A24CB2 #B26F4C #5CB24C #4C8FB2
square
#A24CB2 #B26F4C #5CB24C #4C8FB2
split-complementary
#A24CB2 #8FB24C #4CB26F
monochromatic
#54275C #7B3A87 #A24CB2 #B876C5 #CFA1D7

Accessibility & contrast

On white

4.98
#A24CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A24CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CB2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CB2#FFFFFF#000000##FFFFFF
##A24CB21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A35B78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a24cb2;
/* rgb */ color: rgb(162, 76, 178);
/* oklch */ color: oklch(56.5% 0.173 321.1);
Tailwind
colors: {
  custom: {
    50: '#c082c9',
    500: '#a24cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a24cb2;
$custom-light: #c082c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cb2",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 290.588,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.17258,
    "h": 321.1
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

primary
#A24CB2
secondary
#9DC496
accent
#D0586B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A24CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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