#B248D0#B248D0

#B248D0 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.214 H 318.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B248D0
RGBrgb(178, 72, 208)
HSLhsl(287, 59%, 55%)
HSVhsv(287, 65%, 82%)
CMYKcmyk(14.4%, 65.4%, 0%, 18.4%)
CIE-LABlab(50.28, 62.36, -51.11)
CIE-LCHlch(50.28, 80.63, 320.66°)
OKLaboklab(59.84% 0.1591 -0.1432)
OKLCHoklch(59.84% 0.214 318)
XYZxyz(32.0610, 18.6551, 61.5743)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248D0 #66D048
analogous
#6E48D0 #B248D0 #D048AA
triadic
#B248D0 #D0B248 #48D0B2
tetradic
#B248D0 #D06E48 #66D048 #48AAD0
square
#B248D0 #D06E48 #66D048 #48AAD0
split-complementary
#B248D0 #AAD048 #48D06E
monochromatic
#69207D #922DAE #B248D0 #C679DD #DBA9E9

Accessibility & contrast

On white

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

On black

4.73
#B248D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248D0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248D0#FFFFFF#000000##000000
##B248D01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1471D4
Deuteranopia (green-blind)
#4E7BCD
Tritanopia (blue-blind)
#B16186
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b248d0;
/* rgb */ color: rgb(178, 72, 208);
/* oklch */ color: oklch(59.8% 0.214 318.0);
Tailwind
colors: {
  custom: {
    50: '#cd82df',
    500: '#b248d0',
    950: '#000000',
  },
}
SCSS
$custom: #b248d0;
$custom-light: #cd82df;
$custom-dark: #000000;
JSON
{
  "hex": "#b248d0",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 286.765,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.214,
    "h": 318
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#B248D0
secondary
#AAD79D
accent
#E24568
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B248D0

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

Preview Lab → · Contrast checker → · Palette generator →

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