#B24ABA#B24ABA

#B24ABA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.191 H 324.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B24ABA
RGBrgb(178, 74, 186)
HSLhsl(296, 45%, 51%)
HSVhsv(296, 60%, 73%)
CMYKcmyk(4.3%, 60.2%, 0%, 27.1%)
CIE-LABlab(49.39, 57.35, -39.84)
CIE-LCHlch(49.39, 69.83, 325.21°)
OKLaboklab(58.8% 0.1563 -0.1103)
OKLCHoklch(58.8% 0.191 324.8)
XYZxyz(29.6711, 17.9094, 48.3389)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24ABA #52BA4A
analogous
#7A4ABA #B24ABA #BA4A8A
triadic
#B24ABA #BAB24A #4ABAB2
tetradic
#B24ABA #BA7A4A #52BA4A #4A8ABA
square
#B24ABA #BA7A4A #52BA4A #4A8ABA
split-complementary
#B24ABA #8ABA4A #4ABA7A
monochromatic
#5F2664 #8A3790 #B24ABA #C576CB #D8A3DC

Accessibility & contrast

On white

4.58
#B24ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B24ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24ABA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24ABA#FFFFFF#000000##000000
##B24ABA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#B65A7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24aba;
/* rgb */ color: rgb(178, 74, 186);
/* oklch */ color: oklch(58.8% 0.191 324.8);
Tailwind
colors: {
  custom: {
    50: '#cc83cf',
    500: '#b24aba',
    950: '#000000',
  },
}
SCSS
$custom: #b24aba;
$custom-light: #cc83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24aba",
  "rgb": {
    "r": 178,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 295.714,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.19132,
    "h": 324.8
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#B24ABA
secondary
#9BC997
accent
#D5535D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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