#B247DB#B247DB

#B247DB is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.225 H 315.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B247DB
RGBrgb(178, 71, 219)
HSLhsl(283, 67%, 57%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(18.7%, 67.6%, 0%, 14.1%)
CIE-LABlab(50.79, 64.94, -56.58)
CIE-LCHlch(50.79, 86.13, 318.94°)
OKLaboklab(60.42% 0.1596 -0.1592)
OKLCHoklch(60.42% 0.225 315.1)
XYZxyz(33.3975, 19.0871, 68.9290)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247DB #70DB47
analogous
#6847DB #B247DB #DB47BA
triadic
#B247DB #DBB247 #47DBB2
tetradic
#B247DB #DB6847 #70DB47 #47BADB
square
#B247DB #DB6847 #70DB47 #47BADB
split-complementary
#B247DB #BADB47 #47DB68
monochromatic
#6D1B8C #9525BF #B247DB #C77AE5 #DDADEF

Accessibility & contrast

On white

4.36
#B247DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B247DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247DB#FFFFFF#000000##000000
##B247DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#AF648C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b247db;
/* rgb */ color: rgb(178, 71, 219);
/* oklch */ color: oklch(60.4% 0.225 315.1);
Tailwind
colors: {
  custom: {
    50: '#cd82e7',
    500: '#b247db',
    950: '#000000',
  },
}
SCSS
$custom: #b247db;
$custom-light: #cd82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b247db",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 283.378,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.22542,
    "h": 315.1
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#B247DB
secondary
#B1DDA1
accent
#EA3E6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247DB

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

Preview Lab → · Contrast checker → · Palette generator →

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