#B24FBA#B24FBA

#B24FBA is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.184 H 324.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B24FBA
RGBrgb(178, 79, 186)
HSLhsl(296, 44%, 52%)
HSVhsv(296, 58%, 73%)
CMYKcmyk(4.3%, 57.5%, 0%, 27.1%)
CIE-LABlab(50.22, 55.07, -38.52)
CIE-LCHlch(50.22, 67.20, 325.03°)
OKLaboklab(59.41% 0.15 -0.1066)
OKLCHoklch(59.41% 0.184 324.6)
XYZxyz(30.0183, 18.6038, 48.4546)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FBA #57BA4F
analogous
#7D4FBA #B24FBA #BA4F8D
triadic
#B24FBA #BAB24F #4FBAB2
tetradic
#B24FBA #BA7D4F #57BA4F #4F8DBA
square
#B24FBA #BA7D4F #57BA4F #4F8DBA
split-complementary
#B24FBA #8DBA4F #4FBA7D
monochromatic
#622866 #8C3992 #B24FBA #C57BCB #D8A7DC

Accessibility & contrast

On white

4.45
#B24FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B24FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FBA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FBA#FFFFFF#000000##000000
##B24FBA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#B65D7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24fba;
/* rgb */ color: rgb(178, 79, 186);
/* oklch */ color: oklch(59.4% 0.184 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc86cf',
    500: '#b24fba',
    950: '#000000',
  },
}
SCSS
$custom: #b24fba;
$custom-light: #cc86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fba",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 295.514,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.18399,
    "h": 324.6
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#B24FBA
secondary
#9ECA9B
accent
#D3545E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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