#A24BB1#A24BB1

#A24BB1 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.3% C 0.173 H 321.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A24BB1
RGBrgb(162, 75, 177)
HSLhsl(291, 40%, 49%)
HSVhsv(291, 58%, 69%)
CMYKcmyk(8.5%, 57.6%, 0%, 30.6%)
CIE-LABlab(46.83, 51.04, -38.77)
CIE-LCHlch(46.83, 64.10, 322.78°)
OKLaboklab(56.32% 0.1356 -0.1077)
OKLCHoklch(56.32% 0.173 321.5)
XYZxyz(25.3513, 15.8891, 43.3180)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BB1 #5AB14B
analogous
#6F4BB1 #A24BB1 #B14B8D
triadic
#A24BB1 #B1A24B #4BB1A2
tetradic
#A24BB1 #B16F4B #5AB14B #4B8DB1
square
#A24BB1 #B16F4B #5AB14B #4B8DB1
split-complementary
#A24BB1 #8DB14B #4BB16F
monochromatic
#53275B #7B3986 #A24BB1 #B975C4 #CFA0D7

Accessibility & contrast

On white

5.03
#A24BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A24BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24BB1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BB1#FFFFFF#000000##FFFFFF
##A24BB11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#A45A77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a24bb1;
/* rgb */ color: rgb(162, 75, 177);
/* oklch */ color: oklch(56.3% 0.173 321.5);
Tailwind
colors: {
  custom: {
    50: '#c082c9',
    500: '#a24bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a24bb1;
$custom-light: #c082c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bb1",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 291.176,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.17315,
    "h": 321.5
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#A24BB1
secondary
#9BC394
accent
#D05769
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A24BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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