#B248B7#B248B7

#B248B7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.192 H 325.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B248B7
RGBrgb(178, 72, 183)
HSLhsl(297, 44%, 50%)
HSVhsv(297, 61%, 72%)
CMYKcmyk(2.7%, 60.7%, 0%, 28.2%)
CIE-LABlab(48.91, 57.69, -38.84)
CIE-LCHlch(48.91, 69.55, 326.05°)
OKLaboklab(58.41% 0.1586 -0.1075)
OKLCHoklch(58.41% 0.192 325.9)
XYZxyz(29.2241, 17.5204, 46.6330)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248B7 #4DB748
analogous
#7A48B7 #B248B7 #B74885
triadic
#B248B7 #B7B248 #48B7B2
tetradic
#B248B7 #B77A48 #4DB748 #4885B7
square
#B248B7 #B77A48 #4DB748 #4885B7
split-complementary
#B248B7 #85B748 #48B77A
monochromatic
#5D255F #87378B #B248B7 #C474C8 #D7A0DA

Accessibility & contrast

On white

4.66
#B248B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B248B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B248B7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248B7#FFFFFF#000000##FFFFFF
##B248B71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#B65779
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b248b7;
/* rgb */ color: rgb(178, 72, 183);
/* oklch */ color: oklch(58.4% 0.192 325.9);
Tailwind
colors: {
  custom: {
    50: '#cc82cd',
    500: '#b248b7',
    950: '#000000',
  },
}
SCSS
$custom: #b248b7;
$custom-light: #cc82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b248b7",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 297.297,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.19154,
    "h": 325.9
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#B248B7
secondary
#97C695
accent
#D3555A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248B7

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

Preview Lab → · Contrast checker → · Palette generator →

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