#B247D8#B247D8

#B247D8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.223 H 315.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B247D8
RGBrgb(178, 71, 216)
HSLhsl(284, 65%, 56%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(17.6%, 67.1%, 0%, 15.3%)
CIE-LABlab(50.61, 64.35, -55.16)
CIE-LCHlch(50.61, 84.76, 319.40°)
OKLaboklab(60.23% 0.1598 -0.155)
OKLCHoklch(60.23% 0.223 315.9)
XYZxyz(33.0061, 18.9305, 66.8678)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247D8 #6DD847
analogous
#6A47D8 #B247D8 #D847B6
triadic
#B247D8 #D8B247 #47D8B2
tetradic
#B247D8 #D86A47 #6DD847 #47B6D8
square
#B247D8 #D86A47 #6DD847 #47B6D8
split-complementary
#B247D8 #B6D847 #47D86A
monochromatic
#6C1D88 #9427BA #B247D8 #C779E3 #DCACED

Accessibility & contrast

On white

4.39
#B247D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B247D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247D8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247D8#FFFFFF#000000##000000
##B247D81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#467BD5
Tritanopia (blue-blind)
#AF638A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b247d8;
/* rgb */ color: rgb(178, 71, 216);
/* oklch */ color: oklch(60.2% 0.223 315.9);
Tailwind
colors: {
  custom: {
    50: '#cd82e5',
    500: '#b247d8',
    950: '#000000',
  },
}
SCSS
$custom: #b247d8;
$custom-light: #cd82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b247d8",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 284.276,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.22265,
    "h": 315.9
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#B247D8
secondary
#AFDBA0
accent
#E8406C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247D8

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

Preview Lab → · Contrast checker → · Palette generator →

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