#B24FB2#B24FB2

#B24FB2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.177 H 327.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B24FB2
RGBrgb(178, 79, 178)
HSLhsl(300, 39%, 50%)
HSVhsv(300, 56%, 70%)
CMYKcmyk(0%, 55.6%, 0%, 30.2%)
CIE-LABlab(49.83, 53.61, -34.48)
CIE-LCHlch(49.83, 63.75, 327.25°)
OKLaboklab(59% 0.1492 -0.0949)
OKLCHoklch(59% 0.177 327.5)
XYZxyz(29.1915, 18.2731, 44.1003)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FB2 #4FB24F
analogous
#804FB2 #B24FB2 #B24F80
triadic
#B24FB2 #B2B24F #4FB2B2
tetradic
#B24FB2 #B2804F #4FB24F #4F80B2
square
#B24FB2 #B2804F #4FB24F #4F80B2
split-complementary
#B24FB2 #80B24F #4FB280
monochromatic
#5E295E #883C88 #B24FB2 #C57AC5 #D7A4D7

Accessibility & contrast

On white

4.51
#B24FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B24FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FB2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FB2#FFFFFF#000000##000000
##B24FB21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#B75B79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24fb2;
/* rgb */ color: rgb(178, 79, 178);
/* oklch */ color: oklch(59.0% 0.177 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc85c9',
    500: '#b24fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b24fb2;
$custom-light: #cc85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fb2",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.1768,
    "h": 327.5
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#B24FB2
secondary
#98C498
accent
#CF5959
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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