#B248A2#B248A2

#B248A2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.174 H 333.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B248A2
RGBrgb(178, 72, 162)
HSLhsl(309, 42%, 49%)
HSVhsv(309, 60%, 70%)
CMYKcmyk(0%, 59.6%, 9%, 30.2%)
CIE-LABlab(47.89, 54.09, -28.10)
CIE-LCHlch(47.89, 60.95, 332.55°)
OKLaboklab(57.33% 0.1562 -0.0766)
OKLCHoklch(57.33% 0.174 333.9)
XYZxyz(27.1991, 16.7104, 35.9683)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248A2 #48B258
analogous
#8D48B2 #B248A2 #B2486D
triadic
#B248A2 #A2B248 #48A2B2
tetradic
#B248A2 #B28D48 #48B258 #486DB2
square
#B248A2 #B28D48 #48B258 #486DB2
split-complementary
#B248A2 #6DB248 #48B28D
monochromatic
#5B2553 #86367A #B248A2 #C671B9 #D79DCF

Accessibility & contrast

On white

4.84
#B248A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B248A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248A2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248A2#FFFFFF#000000##FFFFFF
##B248A21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#BA4F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b248a2;
/* rgb */ color: rgb(178, 72, 162);
/* oklch */ color: oklch(57.3% 0.174 333.9);
Tailwind
colors: {
  custom: {
    50: '#cc81be',
    500: '#b248a2',
    950: '#000000',
  },
}
SCSS
$custom: #b248a2;
$custom-light: #cc81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b248a2",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 309.057,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.17396,
    "h": 333.9
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#B248A2
secondary
#92C499
accent
#D26856
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B248A2

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

Preview Lab → · Contrast checker → · Palette generator →

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