#B248D1#B248D1

#B248D1 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.215 H 317.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B248D1
RGBrgb(178, 72, 209)
HSLhsl(286, 60%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(14.8%, 65.6%, 0%, 18%)
CIE-LABlab(50.34, 62.56, -51.59)
CIE-LCHlch(50.34, 81.09, 320.49°)
OKLaboklab(59.9% 0.159 -0.1446)
OKLCHoklch(59.9% 0.215 317.7)
XYZxyz(32.1845, 18.7045, 62.2242)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248D1 #67D148
analogous
#6D48D1 #B248D1 #D148AC
triadic
#B248D1 #D1B248 #48D1B2
tetradic
#B248D1 #D16D48 #67D148 #48ACD1
square
#B248D1 #D16D48 #67D148 #48ACD1
split-complementary
#B248D1 #ACD148 #48D16D
monochromatic
#69207F #922CB0 #B248D1 #C779DD #DBAAEA

Accessibility & contrast

On white

4.43
#B248D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B248D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248D1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248D1#FFFFFF#000000##000000
##B248D11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1071D5
Deuteranopia (green-blind)
#4D7BCE
Tritanopia (blue-blind)
#B16187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b248d1;
/* rgb */ color: rgb(178, 72, 209);
/* oklch */ color: oklch(59.9% 0.215 317.7);
Tailwind
colors: {
  custom: {
    50: '#cd82e0',
    500: '#b248d1',
    950: '#000000',
  },
}
SCSS
$custom: #b248d1;
$custom-light: #cd82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b248d1",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 286.423,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59903,
    "c": 0.21492,
    "h": 317.7
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#B248D1
secondary
#ABD79E
accent
#E34569
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B248D1

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

Preview Lab → · Contrast checker → · Palette generator →

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