#B248DB#B248DB

#B248DB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.224 H 315.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B248DB
RGBrgb(178, 72, 219)
HSLhsl(283, 67%, 57%)
HSVhsv(283, 67%, 86%)
CMYKcmyk(18.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(50.94, 64.53, -56.34)
CIE-LCHlch(50.94, 85.66, 318.88°)
OKLaboklab(60.53% 0.1586 -0.1585)
OKLCHoklch(60.53% 0.224 315)
XYZxyz(33.4616, 19.2153, 68.9504)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248DB #71DB48
analogous
#6948DB #B248DB #DB48BB
triadic
#B248DB #DBB248 #48DBB2
tetradic
#B248DB #DB6948 #71DB48 #48BBDB
square
#B248DB #DB6948 #71DB48 #48BBDB
split-complementary
#B248DB #BBDB48 #48DB69
monochromatic
#6D1C8D #9526C0 #B248DB #C87BE5 #DDAEEF

Accessibility & contrast

On white

4.34
#B248DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B248DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248DB#FFFFFF#000000##000000
##B248DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#AF658C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b248db;
/* rgb */ color: rgb(178, 72, 219);
/* oklch */ color: oklch(60.5% 0.224 315.0);
Tailwind
colors: {
  custom: {
    50: '#cd83e7',
    500: '#b248db',
    950: '#000000',
  },
}
SCSS
$custom: #b248db;
$custom-light: #cd83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b248db",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 283.265,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.22417,
    "h": 315
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#B248DB
secondary
#B2DDA2
accent
#EA3E6E
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248DB

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

Preview Lab → · Contrast checker → · Palette generator →

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