#B247DA#B247DA

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

Color values

HEX#B247DA
RGBrgb(178, 71, 218)
HSLhsl(284, 67%, 57%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(18.3%, 67.4%, 0%, 14.5%)
CIE-LABlab(50.73, 64.74, -56.11)
CIE-LCHlch(50.73, 85.67, 319.09°)
OKLaboklab(60.36% 0.1597 -0.1578)
OKLCHoklch(60.36% 0.224 315.3)
XYZxyz(33.2662, 19.0346, 68.2378)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247DA #6FDA47
analogous
#6847DA #B247DA #DA47B9
triadic
#B247DA #DAB247 #47DAB2
tetradic
#B247DA #DA6847 #6FDA47 #47B9DA
square
#B247DA #DA6847 #6FDA47 #47B9DA
split-complementary
#B247DA #B9DA47 #47DA68
monochromatic
#6D1C8B #9426BE #B247DA #C77AE4 #DDADEE

Accessibility & contrast

On white

4.37
#B247DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B247DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247DA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247DA#FFFFFF#000000##000000
##B247DA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#AF648B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b247da;
/* rgb */ color: rgb(178, 71, 218);
/* oklch */ color: oklch(60.4% 0.224 315.3);
Tailwind
colors: {
  custom: {
    50: '#cd82e6',
    500: '#b247da',
    950: '#000000',
  },
}
SCSS
$custom: #b247da;
$custom-light: #cd82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b247da",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 283.673,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.22449,
    "h": 315.3
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#B247DA
secondary
#B1DCA0
accent
#E93E6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247DA

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

Preview Lab → · Contrast checker → · Palette generator →

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