#B248A3#B248A3

#B248A3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.175 H 333.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B248A3
RGBrgb(178, 72, 163)
HSLhsl(308, 42%, 49%)
HSVhsv(308, 60%, 70%)
CMYKcmyk(0%, 59.6%, 8.4%, 30.2%)
CIE-LABlab(47.94, 54.25, -28.62)
CIE-LCHlch(47.94, 61.34, 332.19°)
OKLaboklab(57.38% 0.1564 -0.078)
OKLCHoklch(57.38% 0.175 333.5)
XYZxyz(27.2884, 16.7461, 36.4383)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248A3 #48B257
analogous
#8C48B2 #B248A3 #B2486E
triadic
#B248A3 #A3B248 #48A3B2
tetradic
#B248A3 #B28C48 #48B257 #486EB2
square
#B248A3 #B28C48 #48B257 #486EB2
split-complementary
#B248A3 #6EB248 #48B28C
monochromatic
#5B2553 #86367B #B248A3 #C671BA #D79DCF

Accessibility & contrast

On white

4.83
#B248A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B248A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248A3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248A3#FFFFFF#000000##FFFFFF
##B248A31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#BA506F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b248a3;
/* rgb */ color: rgb(178, 72, 163);
/* oklch */ color: oklch(57.4% 0.175 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc81be',
    500: '#b248a3',
    950: '#000000',
  },
}
SCSS
$custom: #b248a3;
$custom-light: #cc81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b248a3",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 308.491,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57382,
    "c": 0.17475,
    "h": 333.5
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#B248A3
secondary
#92C499
accent
#D26756
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B248A3

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

Preview Lab → · Contrast checker → · Palette generator →

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