#B247BC#B247BC

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

Color values

HEX#B247BC
RGBrgb(178, 71, 188)
HSLhsl(295, 47%, 51%)
HSVhsv(295, 62%, 74%)
CMYKcmyk(5.3%, 62.2%, 0%, 26.3%)
CIE-LABlab(49.01, 59.03, -41.59)
CIE-LCHlch(49.01, 72.21, 324.83°)
OKLaboklab(58.57% 0.16 -0.1154)
OKLCHoklch(58.57% 0.197 324.2)
XYZxyz(29.6897, 17.6040, 49.4013)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247BC #51BC47
analogous
#7747BC #B247BC #BC478B
triadic
#B247BC #BCB247 #47BCB2
tetradic
#B247BC #BC7747 #51BC47 #478BBC
square
#B247BC #BC7747 #51BC47 #478BBC
split-complementary
#B247BC #8BBC47 #47BC77
monochromatic
#5F2464 #893591 #B247BC #C574CC #D8A1DD

Accessibility & contrast

On white

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

On black

4.52
#B247BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B247BC#FFFFFF#000000##FFFFFF
##B247BC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#B5587B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b247bc;
/* rgb */ color: rgb(178, 71, 188);
/* oklch */ color: oklch(58.6% 0.197 324.2);
Tailwind
colors: {
  custom: {
    50: '#cc81d0',
    500: '#b247bc',
    950: '#000000',
  },
}
SCSS
$custom: #b247bc;
$custom-light: #cc81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b247bc",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 294.872,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.19732,
    "h": 324.2
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#B247BC
secondary
#9AC995
accent
#D6525D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B247BC

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

Preview Lab → · Contrast checker → · Palette generator →

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