#B24FBC#B24FBC

#B24FBC is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.186 H 323.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B24FBC
RGBrgb(178, 79, 188)
HSLhsl(294, 45%, 52%)
HSVhsv(294, 58%, 74%)
CMYKcmyk(5.3%, 58%, 0%, 26.3%)
CIE-LABlab(50.32, 55.44, -39.52)
CIE-LCHlch(50.32, 68.08, 324.52°)
OKLaboklab(59.52% 0.1502 -0.1095)
OKLCHoklch(59.52% 0.186 323.9)
XYZxyz(30.2324, 18.6894, 49.5822)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FBC #59BC4F
analogous
#7B4FBC #B24FBC #BC4F90
triadic
#B24FBC #BCB24F #4FBCB2
tetradic
#B24FBC #BC7B4F #59BC4F #4F90BC
square
#B24FBC #BC7B4F #59BC4F #4F90BC
split-complementary
#B24FBC #90BC4F #4FBC7B
monochromatic
#632869 #8D3995 #B24FBC #C57BCD #D9A8DE

Accessibility & contrast

On white

4.43
#B24FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B24FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FBC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FBC#FFFFFF#000000##000000
##B24FBC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B55E7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b24fbc;
/* rgb */ color: rgb(178, 79, 188);
/* oklch */ color: oklch(59.5% 0.186 323.9);
Tailwind
colors: {
  custom: {
    50: '#cc86d0',
    500: '#b24fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b24fbc;
$custom-light: #cc86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fbc",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 294.495,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59519,
    "c": 0.18582,
    "h": 323.9
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#B24FBC
secondary
#A0CB9C
accent
#D5535F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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