#B247AA#B247AA

#B247AA is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.182 H 330.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B247AA
RGBrgb(178, 71, 170)
HSLhsl(304, 43%, 49%)
HSVhsv(304, 60%, 70%)
CMYKcmyk(0%, 60.1%, 4.5%, 30.2%)
CIE-LABlab(48.10, 55.87, -32.49)
CIE-LCHlch(48.10, 64.63, 329.82°)
OKLaboklab(57.61% 0.1586 -0.0891)
OKLCHoklch(57.61% 0.182 330.7)
XYZxyz(27.8689, 16.8757, 39.8119)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247AA #47B24F
analogous
#8547B2 #B247AA #B24775
triadic
#B247AA #AAB247 #47AAB2
tetradic
#B247AA #B28547 #47B24F #4775B2
square
#B247AA #B28547 #47B24F #4775B2
split-complementary
#B247AA #75B247 #47B285
monochromatic
#5B2456 #863680 #B247AA #C670C0 #D79CD3

Accessibility & contrast

On white

4.80
#B247AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B247AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B247AA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247AA#FFFFFF#000000##FFFFFF
##B247AA1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#6477A7
Tritanopia (blue-blind)
#B95172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b247aa;
/* rgb */ color: rgb(178, 71, 170);
/* oklch */ color: oklch(57.6% 0.182 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc81c3',
    500: '#b247aa',
    950: '#000000',
  },
}
SCSS
$custom: #b247aa;
$custom-light: #cc81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b247aa",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 304.486,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.18192,
    "h": 330.7
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#B247AA
secondary
#91C495
accent
#D35E55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B247AA

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

Preview Lab → · Contrast checker → · Palette generator →

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