#B247D5#B247D5

#B247D5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.220 H 316.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B247D5
RGBrgb(178, 71, 213)
HSLhsl(285, 63%, 56%)
HSVhsv(285, 67%, 84%)
CMYKcmyk(16.4%, 66.7%, 0%, 16.5%)
CIE-LABlab(50.42, 63.76, -53.74)
CIE-LCHlch(50.42, 83.39, 319.87°)
OKLaboklab(60.04% 0.16 -0.1509)
OKLCHoklch(60.04% 0.22 316.7)
XYZxyz(32.6218, 18.7768, 64.8438)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247D5 #6AD547
analogous
#6B47D5 #B247D5 #D547B1
triadic
#B247D5 #D5B247 #47D5B2
tetradic
#B247D5 #D56B47 #6AD547 #47B1D5
square
#B247D5 #D56B47 #6AD547 #47B1D5
split-complementary
#B247D5 #B1D547 #47D56B
monochromatic
#6B1E84 #9329B5 #B247D5 #C779E0 #DCABEC

Accessibility & contrast

On white

4.42
#B247D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B247D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247D5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247D5#FFFFFF#000000##000000
##B247D51.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#497BD2
Tritanopia (blue-blind)
#B06288
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b247d5;
/* rgb */ color: rgb(178, 71, 213);
/* oklch */ color: oklch(60.0% 0.220 316.7);
Tailwind
colors: {
  custom: {
    50: '#cd82e3',
    500: '#b247d5',
    950: '#000000',
  },
}
SCSS
$custom: #b247d5;
$custom-light: #cd82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b247d5",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 285.211,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.21989,
    "h": 316.7
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#B247D5
secondary
#ADD99E
accent
#E6426A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B247D5

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

Preview Lab → · Contrast checker → · Palette generator →

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