#B248D2#B248D2

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

Color values

HEX#B248D2
RGBrgb(178, 72, 210)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.2%, 65.7%, 0%, 17.6%)
CIE-LABlab(50.40, 62.75, -52.07)
CIE-LCHlch(50.40, 81.54, 320.31°)
OKLaboklab(59.97% 0.159 -0.146)
OKLCHoklch(59.97% 0.216 317.4)
XYZxyz(32.3086, 18.7542, 62.8783)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248D2 #68D248
analogous
#6D48D2 #B248D2 #D248AD
triadic
#B248D2 #D2B248 #48D2B2
tetradic
#B248D2 #D26D48 #68D248 #48ADD2
square
#B248D2 #D26D48 #68D248 #48ADD2
split-complementary
#B248D2 #ADD248 #48D26D
monochromatic
#6A2080 #922CB1 #B248D2 #C779DE #DBAAEA

Accessibility & contrast

On white

4.42
#B248D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B248D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248D2#FFFFFF#000000##000000
##B248D21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D71D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#B16187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b248d2;
/* rgb */ color: rgb(178, 72, 210);
/* oklch */ color: oklch(60.0% 0.216 317.4);
Tailwind
colors: {
  custom: {
    50: '#cd82e0',
    500: '#b248d2',
    950: '#000000',
  },
}
SCSS
$custom: #b248d2;
$custom-light: #cd82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b248d2",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 286.087,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.21584,
    "h": 317.4
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#B248D2
secondary
#ABD89E
accent
#E44469
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B248D2

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

Preview Lab → · Contrast checker → · Palette generator →

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