#B24BBA#B24BBA

#B24BBA is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.190 H 324.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B24BBA
RGBrgb(178, 75, 186)
HSLhsl(296, 45%, 51%)
HSVhsv(296, 60%, 73%)
CMYKcmyk(4.3%, 59.7%, 0%, 27.1%)
CIE-LABlab(49.55, 56.90, -39.58)
CIE-LCHlch(49.55, 69.31, 325.18°)
OKLaboklab(58.92% 0.1551 -0.1096)
OKLCHoklch(58.92% 0.19 324.7)
XYZxyz(29.7384, 18.0440, 48.3613)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BBA #53BA4B
analogous
#7A4BBA #B24BBA #BA4B8A
triadic
#B24BBA #BAB24B #4BBAB2
tetradic
#B24BBA #BA7A4B #53BA4B #4B8ABA
square
#B24BBA #BA7A4B #53BA4B #4B8ABA
split-complementary
#B24BBA #8ABA4B #4BBA7A
monochromatic
#602664 #8A3790 #B24BBA #C577CB #D8A3DC

Accessibility & contrast

On white

4.56
#B24BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B24BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BBA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BBA#FFFFFF#000000##000000
##B24BBA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#5E7AB7
Tritanopia (blue-blind)
#B65A7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24bba;
/* rgb */ color: rgb(178, 75, 186);
/* oklch */ color: oklch(58.9% 0.190 324.7);
Tailwind
colors: {
  custom: {
    50: '#cc83cf',
    500: '#b24bba',
    950: '#000000',
  },
}
SCSS
$custom: #b24bba;
$custom-light: #cc83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bba",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 295.676,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58923,
    "c": 0.18988,
    "h": 324.7
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#B24BBA
secondary
#9BC998
accent
#D4545D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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