#B248A5#B248A5

#B248A5 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.176 H 332.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B248A5
RGBrgb(178, 72, 165)
HSLhsl(307, 42%, 49%)
HSVhsv(307, 60%, 70%)
CMYKcmyk(0%, 59.6%, 7.3%, 30.2%)
CIE-LABlab(48.03, 54.58, -29.66)
CIE-LCHlch(48.03, 62.12, 331.48°)
OKLaboklab(57.48% 0.1567 -0.081)
OKLCHoklch(57.48% 0.176 332.7)
XYZxyz(27.4690, 16.8183, 37.3895)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248A5 #48B255
analogous
#8A48B2 #B248A5 #B24870
triadic
#B248A5 #A5B248 #48A5B2
tetradic
#B248A5 #B28A48 #48B255 #4870B2
square
#B248A5 #B28A48 #48B255 #4870B2
split-complementary
#B248A5 #70B248 #48B28A
monochromatic
#5B2554 #86367D #B248A5 #C671BB #D79DD0

Accessibility & contrast

On white

4.81
#B248A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B248A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248A5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248A5#FFFFFF#000000##FFFFFF
##B248A51.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A8
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#B95070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b248a5;
/* rgb */ color: rgb(178, 72, 165);
/* oklch */ color: oklch(57.5% 0.176 332.7);
Tailwind
colors: {
  custom: {
    50: '#cc81c0',
    500: '#b248a5',
    950: '#000000',
  },
}
SCSS
$custom: #b248a5;
$custom-light: #cc81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b248a5",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 307.358,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.17637,
    "h": 332.7
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#B248A5
secondary
#92C498
accent
#D26556
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B248A5

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

Preview Lab → · Contrast checker → · Palette generator →

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