#B24FB7#B24FB7

#B24FB7 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.181 H 325.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B24FB7
RGBrgb(178, 79, 183)
HSLhsl(297, 42%, 51%)
HSVhsv(297, 57%, 72%)
CMYKcmyk(2.7%, 56.8%, 0%, 28.2%)
CIE-LABlab(50.07, 54.52, -37.01)
CIE-LCHlch(50.07, 65.90, 325.83°)
OKLaboklab(59.25% 0.1497 -0.1022)
OKLCHoklch(59.25% 0.181 325.7)
XYZxyz(29.7027, 18.4775, 46.7926)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FB7 #54B74F
analogous
#7E4FB7 #B24FB7 #B74F88
triadic
#B24FB7 #B7B24F #4FB7B2
tetradic
#B24FB7 #B77E4F #54B74F #4F88B7
square
#B24FB7 #B77E4F #54B74F #4F88B7
split-complementary
#B24FB7 #88B74F #4FB77E
monochromatic
#602963 #8A3A8F #B24FB7 #C57AC9 #D8A6DB

Accessibility & contrast

On white

4.47
#B24FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B24FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FB7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FB7#FFFFFF#000000##000000
##B24FB71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#B65C7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24fb7;
/* rgb */ color: rgb(178, 79, 183);
/* oklch */ color: oklch(59.3% 0.181 325.7);
Tailwind
colors: {
  custom: {
    50: '#cc86cd',
    500: '#b24fb7',
    950: '#000000',
  },
}
SCSS
$custom: #b24fb7;
$custom-light: #cc86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fb7",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 297.115,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.18127,
    "h": 325.7
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#B24FB7
secondary
#9CC89A
accent
#D2565C
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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