#B247BB#B247BB

#B247BB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.196 H 324.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B247BB
RGBrgb(178, 71, 187)
HSLhsl(295, 46%, 51%)
HSVhsv(295, 62%, 73%)
CMYKcmyk(4.8%, 62%, 0%, 26.7%)
CIE-LABlab(48.96, 58.85, -41.09)
CIE-LCHlch(48.96, 71.78, 325.07°)
OKLaboklab(58.51% 0.16 -0.114)
OKLCHoklch(58.51% 0.196 324.5)
XYZxyz(29.5822, 17.5610, 48.8355)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247BB #50BB47
analogous
#7847BB #B247BB #BB478A
triadic
#B247BB #BBB247 #47BBB2
tetradic
#B247BB #BB7847 #50BB47 #478ABB
square
#B247BB #BB7847 #50BB47 #478ABB
split-complementary
#B247BB #8ABB47 #47BB78
monochromatic
#5E2563 #893590 #B247BB #C574CC #D7A0DC

Accessibility & contrast

On white

4.65
#B247BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B247BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B247BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247BB#FFFFFF#000000##FFFFFF
##B247BB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#B6587B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b247bb;
/* rgb */ color: rgb(178, 71, 187);
/* oklch */ color: oklch(58.5% 0.196 324.5);
Tailwind
colors: {
  custom: {
    50: '#cc81d0',
    500: '#b247bb',
    950: '#000000',
  },
}
SCSS
$custom: #b247bb;
$custom-light: #cc81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b247bb",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 295.345,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.19644,
    "h": 324.5
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#B247BB
secondary
#99C995
accent
#D6525C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B247BB

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

Preview Lab → · Contrast checker → · Palette generator →

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