#B247D2#B247D2

#B247D2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.217 H 317.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B247D2
RGBrgb(178, 71, 210)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.2%, 66.2%, 0%, 17.6%)
CIE-LABlab(50.25, 63.17, -52.31)
CIE-LCHlch(50.25, 82.02, 320.37°)
OKLaboklab(59.86% 0.1601 -0.1467)
OKLCHoklch(59.86% 0.217 317.5)
XYZxyz(32.2445, 18.6259, 62.8569)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247D2 #67D247
analogous
#6C47D2 #B247D2 #D247AD
triadic
#B247D2 #D2B247 #47D2B2
tetradic
#B247D2 #D26C47 #67D247 #47ADD2
square
#B247D2 #D26C47 #67D247 #47ADD2
split-complementary
#B247D2 #ADD247 #47D26C
monochromatic
#691F7F #922BB1 #B247D2 #C778DE #DBA9EA

Accessibility & contrast

On white

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

On black

4.72
#B247D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247D2#FFFFFF#000000##000000
##B247D21.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0771D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#B16187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b247d2;
/* rgb */ color: rgb(178, 71, 210);
/* oklch */ color: oklch(59.9% 0.217 317.5);
Tailwind
colors: {
  custom: {
    50: '#cd82e0',
    500: '#b247d2',
    950: '#000000',
  },
}
SCSS
$custom: #b247d2;
$custom-light: #cd82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b247d2",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 286.187,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.21713,
    "h": 317.5
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#B247D2
secondary
#ABD89D
accent
#E44469
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B247D2

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

Preview Lab → · Contrast checker → · Palette generator →

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