#B248DC#B248DC

#B248DC is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.225 H 314.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B248DC
RGBrgb(178, 72, 220)
HSLhsl(283, 68%, 57%)
HSVhsv(283, 67%, 86%)
CMYKcmyk(19.1%, 67.3%, 0%, 13.7%)
CIE-LABlab(51.00, 64.73, -56.81)
CIE-LCHlch(51.00, 86.12, 318.73°)
OKLaboklab(60.59% 0.1585 -0.1598)
OKLCHoklch(60.59% 0.225 314.8)
XYZxyz(33.5936, 19.2682, 69.6458)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248DC #72DC48
analogous
#6848DC #B248DC #DC48BC
triadic
#B248DC #DCB248 #48DCB2
tetradic
#B248DC #DC6848 #72DC48 #48BCDC
square
#B248DC #DC6848 #72DC48 #48BCDC
split-complementary
#B248DC #BCDC48 #48DC68
monochromatic
#6E1B8E #9525C2 #B248DC #C87BE6 #DDAFF0

Accessibility & contrast

On white

4.33
#B248DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B248DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248DC#FFFFFF#000000##000000
##B248DC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#AF658D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b248dc;
/* rgb */ color: rgb(178, 72, 220);
/* oklch */ color: oklch(60.6% 0.225 314.8);
Tailwind
colors: {
  custom: {
    50: '#cd83e8',
    500: '#b248dc',
    950: '#000000',
  },
}
SCSS
$custom: #b248dc;
$custom-light: #cd83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b248dc",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 282.973,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.2251,
    "h": 314.8
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#B248DC
secondary
#B3DEA2
accent
#EB3D6E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248DC

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

Preview Lab → · Contrast checker → · Palette generator →

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