#B247BF#B247BF

#B247BF is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.7% C 0.200 H 323.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B247BF
RGBrgb(178, 71, 191)
HSLhsl(294, 48%, 51%)
HSVhsv(294, 63%, 75%)
CMYKcmyk(6.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(49.17, 59.58, -43.08)
CIE-LCHlch(49.17, 73.52, 324.13°)
OKLaboklab(58.73% 0.1602 -0.1197)
OKLCHoklch(58.73% 0.2 323.2)
XYZxyz(30.0164, 17.7347, 51.1222)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247BF #54BF47
analogous
#7647BF #B247BF #BF4790
triadic
#B247BF #BFB247 #47BFB2
tetradic
#B247BF #BF7647 #54BF47 #4790BF
square
#B247BF #BF7647 #54BF47 #4790BF
split-complementary
#B247BF #90BF47 #47BF76
monochromatic
#602468 #8A3495 #B247BF #C574CF #D8A2DF

Accessibility & contrast

On white

4.62
#B247BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B247BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B247BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247BF#FFFFFF#000000##FFFFFF
##B247BF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#B5597D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b247bf;
/* rgb */ color: rgb(178, 71, 191);
/* oklch */ color: oklch(58.7% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#cc81d3',
    500: '#b247bf',
    950: '#000000',
  },
}
SCSS
$custom: #b247bf;
$custom-light: #cc81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b247bf",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 293.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.19997,
    "h": 323.2
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#B247BF
secondary
#9CCB96
accent
#D8505F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B247BF

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

Preview Lab → · Contrast checker → · Palette generator →

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