#B247DF#B247DF

#B247DF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.229 H 314.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B247DF
RGBrgb(178, 71, 223)
HSLhsl(282, 70%, 58%)
HSVhsv(282, 68%, 87%)
CMYKcmyk(20.2%, 68.2%, 0%, 12.5%)
CIE-LABlab(51.04, 65.74, -58.45)
CIE-LCHlch(51.04, 87.97, 318.36°)
OKLaboklab(60.68% 0.1593 -0.1646)
OKLCHoklch(60.68% 0.229 314.1)
XYZxyz(33.9304, 19.3003, 71.7357)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247DF #74DF47
analogous
#6647DF #B247DF #DF47C0
triadic
#B247DF #DFB247 #47DFB2
tetradic
#B247DF #DF6647 #74DF47 #47C0DF
square
#B247DF #DF6647 #74DF47 #47C0DF
split-complementary
#B247DF #C0DF47 #47DF66
monochromatic
#6E1992 #9622C6 #B247DF #C87BE8 #DEAFF1

Accessibility & contrast

On white

4.32
#B247DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B247DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247DF#FFFFFF#000000##000000
##B247DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#AE668E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b247df;
/* rgb */ color: rgb(178, 71, 223);
/* oklch */ color: oklch(60.7% 0.229 314.1);
Tailwind
colors: {
  custom: {
    50: '#cd82ea',
    500: '#b247df',
    950: '#000000',
  },
}
SCSS
$custom: #b247df;
$custom-light: #cd82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b247df",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 282.237,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.22912,
    "h": 314.1
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#B247DF
secondary
#B4DFA2
accent
#ED3B6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247DF

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

Preview Lab → · Contrast checker → · Palette generator →

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