#B247C5#B247C5

#B247C5 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 321.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B247C5
RGBrgb(178, 71, 197)
HSLhsl(291, 52%, 53%)
HSVhsv(291, 64%, 77%)
CMYKcmyk(9.6%, 64%, 0%, 22.7%)
CIE-LABlab(49.50, 60.69, -46.03)
CIE-LCHlch(49.50, 76.17, 322.82°)
OKLaboklab(59.08% 0.1603 -0.1283)
OKLCHoklch(59.08% 0.205 321.3)
XYZxyz(30.6903, 18.0042, 54.6711)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247C5 #5AC547
analogous
#7347C5 #B247C5 #C54799
triadic
#B247C5 #C5B247 #47C5B2
tetradic
#B247C5 #C57347 #5AC547 #4799C5
square
#B247C5 #C57347 #5AC547 #4799C5
split-complementary
#B247C5 #99C547 #47C573
monochromatic
#63236F #8D329D #B247C5 #C576D4 #D9A4E2

Accessibility & contrast

On white

4.56
#B247C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B247C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247C5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247C5#FFFFFF#000000##000000
##B247C51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#266EC9
Deuteranopia (green-blind)
#557AC2
Tritanopia (blue-blind)
#B45C80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b247c5;
/* rgb */ color: rgb(178, 71, 197);
/* oklch */ color: oklch(59.1% 0.205 321.3);
Tailwind
colors: {
  custom: {
    50: '#cc81d7',
    500: '#b247c5',
    950: '#000000',
  },
}
SCSS
$custom: #b247c5;
$custom-light: #cc81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b247c5",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 290.952,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59078,
    "c": 0.20533,
    "h": 321.3
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

primary
#B247C5
secondary
#A1CF99
accent
#DC4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B247C5

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

Preview Lab → · Contrast checker → · Palette generator →

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