#B247AC#B247AC

#B247AC is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.184 H 329.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B247AC
RGBrgb(178, 71, 172)
HSLhsl(303, 43%, 49%)
HSVhsv(303, 60%, 70%)
CMYKcmyk(0%, 60.1%, 3.4%, 30.2%)
CIE-LABlab(48.20, 56.21, -33.52)
CIE-LCHlch(48.20, 65.44, 329.19°)
OKLaboklab(57.71% 0.1588 -0.0921)
OKLCHoklch(57.71% 0.184 329.9)
XYZxyz(28.0595, 16.9519, 40.8159)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247AC #47B24D
analogous
#8347B2 #B247AC #B24777
triadic
#B247AC #ACB247 #47ACB2
tetradic
#B247AC #B28347 #47B24D #4777B2
square
#B247AC #B28347 #47B24D #4777B2
split-complementary
#B247AC #77B247 #47B283
monochromatic
#5B2457 #863682 #B247AC #C670C1 #D79CD4

Accessibility & contrast

On white

4.78
#B247AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B247AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B247AC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247AC#FFFFFF#000000##FFFFFF
##B247AC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#6378A9
Tritanopia (blue-blind)
#B85273
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b247ac;
/* rgb */ color: rgb(178, 71, 172);
/* oklch */ color: oklch(57.7% 0.184 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc81c5',
    500: '#b247ac',
    950: '#000000',
  },
}
SCSS
$custom: #b247ac;
$custom-light: #cc81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b247ac",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 303.364,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.18358,
    "h": 329.9
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#B247AC
secondary
#91C494
accent
#D35C55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B247AC

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

Preview Lab → · Contrast checker → · Palette generator →

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