#B248AF#B248AF

#B248AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.185 H 328.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B248AF
RGBrgb(178, 72, 175)
HSLhsl(302, 42%, 49%)
HSVhsv(302, 60%, 70%)
CMYKcmyk(0%, 59.6%, 1.7%, 30.2%)
CIE-LABlab(48.51, 56.28, -34.80)
CIE-LCHlch(48.51, 66.17, 328.27°)
OKLaboklab(57.98% 0.1579 -0.0958)
OKLCHoklch(57.98% 0.185 328.8)
XYZxyz(28.4150, 17.1967, 42.3718)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248AF #48B24B
analogous
#8048B2 #B248AF #B2487A
triadic
#B248AF #AFB248 #48AFB2
tetradic
#B248AF #B28048 #48B24B #487AB2
square
#B248AF #B28048 #48B24B #487AB2
split-complementary
#B248AF #7AB248 #48B280
monochromatic
#5B2559 #863684 #B248AF #C671C3 #D79DD6

Accessibility & contrast

On white

4.73
#B248AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B248AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248AF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248AF#FFFFFF#000000##FFFFFF
##B248AF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#B85475
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248af;
/* rgb */ color: rgb(178, 72, 175);
/* oklch */ color: oklch(58.0% 0.185 328.8);
Tailwind
colors: {
  custom: {
    50: '#cc81c7',
    500: '#b248af',
    950: '#000000',
  },
}
SCSS
$custom: #b248af;
$custom-light: #cc81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b248af",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 301.698,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.18465,
    "h": 328.8
  },
  "luminance": 0.17195
}

Semantic roles & 50–950 ramp

primary
#B248AF
secondary
#92C493
accent
#D25956
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248AF

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

Preview Lab → · Contrast checker → · Palette generator →

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