#A24FBB#A24FBB

#A24FBB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.177 H 317.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A24FBB
RGBrgb(162, 79, 187)
HSLhsl(286, 44%, 52%)
HSVhsv(286, 58%, 73%)
CMYKcmyk(13.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(48.09, 51.09, -42.62)
CIE-LCHlch(48.09, 66.53, 320.16°)
OKLaboklab(57.41% 0.131 -0.1189)
OKLCHoklch(57.41% 0.177 317.8)
XYZxyz(26.6647, 16.8622, 48.8542)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FBB #68BB4F
analogous
#6C4FBB #A24FBB #BB4F9E
triadic
#A24FBB #BBA24F #4FBBA2
tetradic
#A24FBB #BB6C4F #68BB4F #4F9EBB
square
#A24FBB #BB6C4F #68BB4F #4F9EBB
split-complementary
#A24FBB #9EBB4F #4FBB6C
monochromatic
#592868 #7F3994 #A24FBB #B97BCC #D1A7DD

Accessibility & contrast

On white

4.80
#A24FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A24FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FBB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FBB#FFFFFF#000000##FFFFFF
##A24FBB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#A1607D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a24fbb;
/* rgb */ color: rgb(162, 79, 187);
/* oklch */ color: oklch(57.4% 0.177 317.8);
Tailwind
colors: {
  custom: {
    50: '#c084d0',
    500: '#a24fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a24fbb;
$custom-light: #c084d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fbb",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 286.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.17691,
    "h": 317.8
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#A24FBB
secondary
#A6CA9B
accent
#D45471
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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