#B247D9#B247D9

#B247D9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.224 H 315.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B247D9
RGBrgb(178, 71, 217)
HSLhsl(284, 66%, 56%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(18%, 67.3%, 0%, 14.9%)
CIE-LABlab(50.67, 64.55, -55.63)
CIE-LCHlch(50.67, 85.21, 319.24°)
OKLaboklab(60.29% 0.1598 -0.1564)
OKLCHoklch(60.29% 0.224 315.6)
XYZxyz(33.1357, 18.9824, 67.5507)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247D9 #6ED947
analogous
#6947D9 #B247D9 #D947B7
triadic
#B247D9 #D9B247 #47D9B2
tetradic
#B247D9 #D96947 #6ED947 #47B7D9
square
#B247D9 #D96947 #6ED947 #47B7D9
split-complementary
#B247D9 #B7D947 #47D969
monochromatic
#6C1C89 #9427BC #B247D9 #C77AE3 #DCACEE

Accessibility & contrast

On white

4.38
#B247D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B247D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247D9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247D9#FFFFFF#000000##000000
##B247D91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#AF648B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b247d9;
/* rgb */ color: rgb(178, 71, 217);
/* oklch */ color: oklch(60.3% 0.224 315.6);
Tailwind
colors: {
  custom: {
    50: '#cd82e5',
    500: '#b247d9',
    950: '#000000',
  },
}
SCSS
$custom: #b247d9;
$custom-light: #cd82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b247d9",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 283.973,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.22357,
    "h": 315.6
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#B247D9
secondary
#B0DCA0
accent
#E93F6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247D9

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

Preview Lab → · Contrast checker → · Palette generator →

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