#B248B0#B248B0

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

Color values

HEX#B248B0
RGBrgb(178, 72, 176)
HSLhsl(301, 42%, 49%)
HSVhsv(301, 60%, 70%)
CMYKcmyk(0%, 59.6%, 1.1%, 30.2%)
CIE-LABlab(48.56, 56.46, -35.31)
CIE-LCHlch(48.56, 66.59, 327.98°)
OKLaboklab(58.04% 0.158 -0.0972)
OKLCHoklch(58.04% 0.186 328.4)
XYZxyz(28.5136, 17.2361, 42.8909)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248B0 #48B24A
analogous
#7F48B2 #B248B0 #B2487B
triadic
#B248B0 #B0B248 #48B0B2
tetradic
#B248B0 #B27F48 #48B24A #487BB2
square
#B248B0 #B27F48 #48B24A #487BB2
split-complementary
#B248B0 #7BB248 #48B27F
monochromatic
#5B255A #863685 #B248B0 #C671C4 #D79DD6

Accessibility & contrast

On white

4.72
#B248B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B248B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248B0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248B0#FFFFFF#000000##FFFFFF
##B248B01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#B75475
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248b0;
/* rgb */ color: rgb(178, 72, 176);
/* oklch */ color: oklch(58.0% 0.185 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc81c8',
    500: '#b248b0',
    950: '#000000',
  },
}
SCSS
$custom: #b248b0;
$custom-light: #cc81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b248b0",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 301.132,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.1855,
    "h": 328.4
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B248B0

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

Preview Lab → · Contrast checker → · Palette generator →

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