#B248D3#B248D3

#B248D3 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.217 H 317.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B248D3
RGBrgb(178, 72, 211)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 66%, 83%)
CMYKcmyk(15.6%, 65.9%, 0%, 17.3%)
CIE-LABlab(50.46, 62.95, -52.55)
CIE-LCHlch(50.46, 82.00, 320.14°)
OKLaboklab(60.03% 0.159 -0.1474)
OKLCHoklch(60.03% 0.217 317.2)
XYZxyz(32.4336, 18.8042, 63.5365)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248D3 #69D348
analogous
#6C48D3 #B248D3 #D348AF
triadic
#B248D3 #D3B248 #48D3B2
tetradic
#B248D3 #D36C48 #69D348 #48AFD3
square
#B248D3 #D36C48 #69D348 #48AFD3
split-complementary
#B248D3 #AFD348 #48D36C
monochromatic
#6A1F81 #932BB3 #B248D3 #C779DF #DCABEB

Accessibility & contrast

On white

4.41
#B248D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B248D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248D3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248D3#FFFFFF#000000##000000
##B248D31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0871D7
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#B16288
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b248d3;
/* rgb */ color: rgb(178, 72, 211);
/* oklch */ color: oklch(60.0% 0.217 317.2);
Tailwind
colors: {
  custom: {
    50: '#cd82e1',
    500: '#b248d3',
    950: '#000000',
  },
}
SCSS
$custom: #b248d3;
$custom-light: #cd82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b248d3",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 285.755,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.21677,
    "h": 317.2
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#B248D3
secondary
#ACD89E
accent
#E4436A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B248D3

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

Preview Lab → · Contrast checker → · Palette generator →

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