#B247D3#B247D3

#B247D3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.218 H 317.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B247D3
RGBrgb(178, 71, 211)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 66%, 83%)
CMYKcmyk(15.6%, 66.4%, 0%, 17.3%)
CIE-LABlab(50.31, 63.37, -52.79)
CIE-LCHlch(50.31, 82.48, 320.20°)
OKLaboklab(59.92% 0.1601 -0.1481)
OKLCHoklch(59.92% 0.218 317.2)
XYZxyz(32.3695, 18.6759, 63.5151)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247D3 #68D347
analogous
#6C47D3 #B247D3 #D347AE
triadic
#B247D3 #D3B247 #47D3B2
tetradic
#B247D3 #D36C47 #68D347 #47AED3
square
#B247D3 #D36C47 #68D347 #47AED3
split-complementary
#B247D3 #AED347 #47D36C
monochromatic
#6A1F81 #922BB2 #B247D3 #C778DF #DBAAEB

Accessibility & contrast

On white

4.44
#B247D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B247D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247D3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247D3#FFFFFF#000000##000000
##B247D31.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0271D7
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#B16187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b247d3;
/* rgb */ color: rgb(178, 71, 211);
/* oklch */ color: oklch(59.9% 0.218 317.2);
Tailwind
colors: {
  custom: {
    50: '#cd82e1',
    500: '#b247d3',
    950: '#000000',
  },
}
SCSS
$custom: #b247d3;
$custom-light: #cd82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b247d3",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 285.857,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.21805,
    "h": 317.2
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#B247D3
secondary
#ABD89E
accent
#E54369
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B247D3

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

Preview Lab → · Contrast checker → · Palette generator →

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