#B24BA2#B24BA2

#B24BA2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.169 H 334.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B24BA2
RGBrgb(178, 75, 162)
HSLhsl(309, 41%, 50%)
HSVhsv(309, 58%, 70%)
CMYKcmyk(0%, 57.9%, 9%, 30.2%)
CIE-LABlab(48.40, 52.72, -27.31)
CIE-LCHlch(48.40, 59.38, 332.61°)
OKLaboklab(57.7% 0.1522 -0.0743)
OKLCHoklch(57.7% 0.169 334)
XYZxyz(27.3978, 17.1078, 36.0345)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BA2 #4BB25B
analogous
#8E4BB2 #B24BA2 #B24B6F
triadic
#B24BA2 #A2B24B #4BA2B2
tetradic
#B24BA2 #B28E4B #4BB25B #4B6FB2
square
#B24BA2 #B28E4B #4BB25B #4B6FB2
split-complementary
#B24BA2 #6FB24B #4BB28E
monochromatic
#5C2754 #87397B #B24BA2 #C575B9 #D7A0CF

Accessibility & contrast

On white

4.75
#B24BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B24BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24BA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BA2#FFFFFF#000000##FFFFFF
##B24BA21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#BA5270
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b24ba2;
/* rgb */ color: rgb(178, 75, 162);
/* oklch */ color: oklch(57.7% 0.169 334.0);
Tailwind
colors: {
  custom: {
    50: '#cc83be',
    500: '#b24ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ba2;
$custom-light: #cc83be;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ba2",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 309.32,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.16942,
    "h": 334
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#B24BA2
secondary
#95C49C
accent
#D16A57
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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