#B248D8#B248D8

#B248D8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.221 H 315.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B248D8
RGBrgb(178, 72, 216)
HSLhsl(284, 65%, 56%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(17.6%, 66.7%, 0%, 15.3%)
CIE-LABlab(50.76, 63.93, -54.92)
CIE-LCHlch(50.76, 84.28, 319.33°)
OKLaboklab(60.34% 0.1587 -0.1543)
OKLCHoklch(60.34% 0.221 315.8)
XYZxyz(33.0702, 19.0588, 66.8891)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248D8 #6ED848
analogous
#6A48D8 #B248D8 #D848B6
triadic
#B248D8 #D8B248 #48D8B2
tetradic
#B248D8 #D86A48 #6ED848 #48B6D8
square
#B248D8 #D86A48 #6ED848 #48B6D8
split-complementary
#B248D8 #B6D848 #48D86A
monochromatic
#6C1D89 #9428BB #B248D8 #C77AE3 #DCADEE

Accessibility & contrast

On white

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

On black

4.81
#B248D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248D8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248D8#FFFFFF#000000##000000
##B248D81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#AF648A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b248d8;
/* rgb */ color: rgb(178, 72, 216);
/* oklch */ color: oklch(60.3% 0.221 315.8);
Tailwind
colors: {
  custom: {
    50: '#cd83e5',
    500: '#b248d8',
    950: '#000000',
  },
}
SCSS
$custom: #b248d8;
$custom-light: #cd83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b248d8",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 284.167,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.22139,
    "h": 315.8
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#B248D8
secondary
#B0DBA0
accent
#E8406C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248D8

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

Preview Lab → · Contrast checker → · Palette generator →

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