#A24BBE#A24BBE

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

Color values

HEX#A24BBE
RGBrgb(162, 75, 190)
HSLhsl(285, 47%, 52%)
HSVhsv(285, 61%, 75%)
CMYKcmyk(14.7%, 60.5%, 0%, 25.5%)
CIE-LABlab(47.54, 53.64, -45.24)
CIE-LCHlch(47.54, 70.16, 319.86°)
OKLaboklab(57.07% 0.1362 -0.1265)
OKLCHoklch(57.07% 0.186 317.1)
XYZxyz(26.7093, 16.4323, 50.4700)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BBE #67BE4B
analogous
#684BBE #A24BBE #BE4BA1
triadic
#A24BBE #BEA24B #4BBEA2
tetradic
#A24BBE #BE684B #67BE4B #4BA1BE
square
#A24BBE #BE684B #67BE4B #4BA1BE
split-complementary
#A24BBE #A1BE4B #4BBE68
monochromatic
#582669 #7E3696 #A24BBE #B978CE #D0A5DE

Accessibility & contrast

On white

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

On black

4.29
#A24BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A24BBE#FFFFFF#000000##FFFFFF
##A24BBE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#A15E7D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24bbe;
/* rgb */ color: rgb(162, 75, 190);
/* oklch */ color: oklch(57.1% 0.186 317.1);
Tailwind
colors: {
  custom: {
    50: '#c082d2',
    500: '#a24bbe',
    950: '#000000',
  },
}
SCSS
$custom: #a24bbe;
$custom-light: #c082d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bbe",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 285.391,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.18589,
    "h": 317.1
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#A24BBE
secondary
#A5CC99
accent
#D75172
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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