#A24BB2#A24BB2

#A24BB2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.174 H 321.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A24BB2
RGBrgb(162, 75, 178)
HSLhsl(291, 41%, 50%)
HSVhsv(291, 58%, 70%)
CMYKcmyk(9%, 57.9%, 0%, 30.2%)
CIE-LABlab(46.88, 51.24, -39.27)
CIE-LCHlch(46.88, 64.56, 322.53°)
OKLaboklab(56.38% 0.1357 -0.1091)
OKLCHoklch(56.38% 0.174 321.2)
XYZxyz(25.4513, 15.9291, 43.8448)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BB2 #5BB24B
analogous
#6F4BB2 #A24BB2 #B24B8E
triadic
#A24BB2 #B2A24B #4BB2A2
tetradic
#A24BB2 #B26F4B #5BB24B #4B8EB2
square
#A24BB2 #B26F4B #5BB24B #4B8EB2
split-complementary
#A24BB2 #8EB24B #4BB26F
monochromatic
#54275C #7B3987 #A24BB2 #B975C5 #CFA0D7

Accessibility & contrast

On white

5.02
#A24BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A24BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24BB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BB2#FFFFFF#000000##FFFFFF
##A24BB21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#A35A77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a24bb2;
/* rgb */ color: rgb(162, 75, 178);
/* oklch */ color: oklch(56.4% 0.174 321.2);
Tailwind
colors: {
  custom: {
    50: '#c082c9',
    500: '#a24bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a24bb2;
$custom-light: #c082c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bb2",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 290.68,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.17411,
    "h": 321.2
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#A24BB2
secondary
#9CC495
accent
#D1576A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A24BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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