#B247AF#B247AF

#B247AF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.186 H 328.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B247AF
RGBrgb(178, 71, 175)
HSLhsl(302, 43%, 49%)
HSVhsv(302, 60%, 70%)
CMYKcmyk(0%, 60.1%, 1.7%, 30.2%)
CIE-LABlab(48.35, 56.72, -35.05)
CIE-LCHlch(48.35, 66.68, 328.29°)
OKLaboklab(57.87% 0.1591 -0.0965)
OKLCHoklch(57.87% 0.186 328.8)
XYZxyz(28.3509, 17.0685, 42.3504)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247AF #47B24A
analogous
#8047B2 #B247AF #B2477A
triadic
#B247AF #AFB247 #47AFB2
tetradic
#B247AF #B28047 #47B24A #477AB2
square
#B247AF #B28047 #47B24A #477AB2
split-complementary
#B247AF #7AB247 #47B280
monochromatic
#5B2459 #863684 #B247AF #C670C4 #D79CD6

Accessibility & contrast

On white

4.76
#B247AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B247AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B247AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247AF#FFFFFF#000000##FFFFFF
##B247AF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#B85374
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b247af;
/* rgb */ color: rgb(178, 71, 175);
/* oklch */ color: oklch(57.9% 0.186 328.8);
Tailwind
colors: {
  custom: {
    50: '#cc81c7',
    500: '#b247af',
    950: '#000000',
  },
}
SCSS
$custom: #b247af;
$custom-light: #cc81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b247af",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 301.682,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.1861,
    "h": 328.8
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#B247AF
secondary
#91C492
accent
#D35955
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B247AF

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

Preview Lab → · Contrast checker → · Palette generator →

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