#A24898#A24898

#A24898 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.6% C 0.155 H 331.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A24898
RGBrgb(162, 72, 152)
HSLhsl(307, 38%, 46%)
HSVhsv(307, 56%, 64%)
CMYKcmyk(0%, 55.6%, 6.2%, 36.5%)
CIE-LABlab(45.06, 47.87, -26.73)
CIE-LCHlch(45.06, 54.83, 330.82°)
OKLaboklab(54.62% 0.1367 -0.073)
OKLCHoklch(54.62% 0.155 331.9)
XYZxyz(22.8851, 14.5846, 31.3094)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24898 #48A252
analogous
#7F48A2 #A24898 #A2486B
triadic
#A24898 #98A248 #4898A2
tetradic
#A24898 #A27F48 #48A252 #486BA2
square
#A24898 #A27F48 #48A252 #486BA2
split-complementary
#A24898 #6BA248 #48A27F
monochromatic
#4D2248 #783570 #A24898 #BD6AB4 #D095C9

Accessibility & contrast

On white

5.36
#A24898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A24898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24898
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24898#FFFFFF#000000##FFFFFF
##A248981.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#A84F69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a24898;
/* rgb */ color: rgb(162, 72, 152);
/* oklch */ color: oklch(54.6% 0.155 331.9);
Tailwind
colors: {
  custom: {
    50: '#c07fb6',
    500: '#a24898',
    950: '#000000',
  },
}
SCSS
$custom: #a24898;
$custom-light: #c07fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a24898",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 306.667,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.15493,
    "h": 331.9
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#A24898
secondary
#8ABC90
accent
#CE6659
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120A11
muted
#817C80

Preview Lab

Preview with #A24898

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

Preview Lab → · Contrast checker → · Palette generator →

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