#A24FB0#A24FB0

#A24FB0 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.8% C 0.166 H 321.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A24FB0
RGBrgb(162, 79, 176)
HSLhsl(291, 38%, 50%)
HSVhsv(291, 55%, 69%)
CMYKcmyk(8%, 55.1%, 0%, 31%)
CIE-LABlab(47.51, 48.88, -37.11)
CIE-LCHlch(47.51, 61.37, 322.79°)
OKLaboklab(56.8% 0.1302 -0.1029)
OKLCHoklch(56.8% 0.166 321.7)
XYZxyz(25.5319, 16.4091, 42.8883)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FB0 #5DB04F
analogous
#714FB0 #A24FB0 #B04F8E
triadic
#A24FB0 #B0A24F #4FB0A2
tetradic
#A24FB0 #B0714F #5DB04F #4F8EB0
square
#A24FB0 #B0714F #5DB04F #4F8EB0
split-complementary
#A24FB0 #8EB04F #4FB071
monochromatic
#54295C #7B3C86 #A24FB0 #B879C3 #CFA3D6

Accessibility & contrast

On white

4.90
#A24FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A24FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FB0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FB0#FFFFFF#000000##FFFFFF
##A24FB01.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB3
Deuteranopia (green-blind)
#5974AD
Tritanopia (blue-blind)
#A45D78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24fb0;
/* rgb */ color: rgb(162, 79, 176);
/* oklch */ color: oklch(56.8% 0.166 321.7);
Tailwind
colors: {
  custom: {
    50: '#c084c8',
    500: '#a24fb0',
    950: '#000000',
  },
}
SCSS
$custom: #a24fb0;
$custom-light: #c084c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fb0",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 291.34,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.16592,
    "h": 321.7
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#A24FB0
secondary
#9EC398
accent
#CE5A6B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A24FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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