#B247A3#B247A3

#B247A3 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.176 H 333.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B247A3
RGBrgb(178, 71, 163)
HSLhsl(308, 43%, 49%)
HSVhsv(308, 60%, 70%)
CMYKcmyk(0%, 60.1%, 8.4%, 30.2%)
CIE-LABlab(47.77, 54.70, -28.87)
CIE-LCHlch(47.77, 61.85, 332.17°)
OKLaboklab(57.26% 0.1577 -0.0788)
OKLCHoklch(57.26% 0.176 333.5)
XYZxyz(27.2243, 16.6178, 36.4169)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247A3 #47B256
analogous
#8C47B2 #B247A3 #B2476E
triadic
#B247A3 #A3B247 #47A3B2
tetradic
#B247A3 #B28C47 #47B256 #476EB2
square
#B247A3 #B28C47 #47B256 #476EB2
split-complementary
#B247A3 #6EB247 #47B28C
monochromatic
#5B2453 #86367B #B247A3 #C670BA #D79CCF

Accessibility & contrast

On white

4.86
#B247A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B247A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B247A3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247A3#FFFFFF#000000##FFFFFF
##B247A31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#BA4F6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b247a3;
/* rgb */ color: rgb(178, 71, 163);
/* oklch */ color: oklch(57.3% 0.176 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc81be',
    500: '#b247a3',
    950: '#000000',
  },
}
SCSS
$custom: #b247a3;
$custom-light: #cc81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b247a3",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 308.411,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.17624,
    "h": 333.5
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#B247A3
secondary
#91C498
accent
#D36755
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B247A3

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

Preview Lab → · Contrast checker → · Palette generator →

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