#B247BD#B247BD

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

Color values

HEX#B247BD
RGBrgb(178, 71, 189)
HSLhsl(294, 47%, 51%)
HSVhsv(294, 62%, 74%)
CMYKcmyk(5.8%, 62.4%, 0%, 25.9%)
CIE-LABlab(49.07, 59.21, -42.09)
CIE-LCHlch(49.07, 72.65, 324.59°)
OKLaboklab(58.62% 0.1601 -0.1169)
OKLCHoklch(58.62% 0.198 323.9)
XYZxyz(29.7978, 17.6472, 49.9710)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247BD #52BD47
analogous
#7747BD #B247BD #BD478D
triadic
#B247BD #BDB247 #47BDB2
tetradic
#B247BD #BD7747 #52BD47 #478DBD
square
#B247BD #BD7747 #52BD47 #478DBD
split-complementary
#B247BD #8DBD47 #47BD77
monochromatic
#5F2465 #8A3492 #B247BD #C574CD #D8A1DD

Accessibility & contrast

On white

4.64
#B247BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B247BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B247BD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247BD#FFFFFF#000000##FFFFFF
##B247BD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC1
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#B5597C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b247bd;
/* rgb */ color: rgb(178, 71, 189);
/* oklch */ color: oklch(58.6% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#cc81d1',
    500: '#b247bd',
    950: '#000000',
  },
}
SCSS
$custom: #b247bd;
$custom-light: #cc81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b247bd",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 294.407,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58622,
    "c": 0.1982,
    "h": 323.9
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#B247BD
secondary
#9BCA96
accent
#D7515D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B247BD

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

Preview Lab → · Contrast checker → · Palette generator →

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