#B247D6#B247D6

#B247D6 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.221 H 316.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B247D6
RGBrgb(178, 71, 214)
HSLhsl(285, 64%, 56%)
HSVhsv(285, 67%, 84%)
CMYKcmyk(16.8%, 66.8%, 0%, 16.1%)
CIE-LABlab(50.49, 63.95, -54.22)
CIE-LCHlch(50.49, 83.84, 319.71°)
OKLaboklab(60.1% 0.1599 -0.1522)
OKLCHoklch(60.1% 0.221 316.4)
XYZxyz(32.7491, 18.8278, 65.5143)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247D6 #6BD647
analogous
#6A47D6 #B247D6 #D647B2
triadic
#B247D6 #D6B247 #47D6B2
tetradic
#B247D6 #D66A47 #6BD647 #47B2D6
square
#B247D6 #D66A47 #6BD647 #47B2D6
split-complementary
#B247D6 #B2D647 #47D66A
monochromatic
#6B1E85 #9329B7 #B247D6 #C779E1 #DCABEC

Accessibility & contrast

On white

4.41
#B247D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B247D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247D6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247D6#FFFFFF#000000##000000
##B247D61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#487BD3
Tritanopia (blue-blind)
#B06289
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b247d6;
/* rgb */ color: rgb(178, 71, 214);
/* oklch */ color: oklch(60.1% 0.221 316.4);
Tailwind
colors: {
  custom: {
    50: '#cd82e3',
    500: '#b247d6',
    950: '#000000',
  },
}
SCSS
$custom: #b247d6;
$custom-light: #cd82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b247d6",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 284.895,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.22081,
    "h": 316.4
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#B247D6
secondary
#AEDA9F
accent
#E7416B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B247D6

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

Preview Lab → · Contrast checker → · Palette generator →

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