#B248B3#B248B3

#B248B3 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.188 H 327.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B248B3
RGBrgb(178, 72, 179)
HSLhsl(299, 43%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(0.6%, 59.8%, 0%, 29.8%)
CIE-LABlab(48.71, 56.98, -36.83)
CIE-LCHlch(48.71, 67.85, 327.12°)
OKLaboklab(58.19% 0.1583 -0.1016)
OKLCHoklch(58.19% 0.188 327.3)
XYZxyz(28.8137, 17.3562, 44.4715)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248B3 #49B348
analogous
#7D48B3 #B248B3 #B3487F
triadic
#B248B3 #B3B248 #48B3B2
tetradic
#B248B3 #B37D48 #49B348 #487FB3
square
#B248B3 #B37D48 #49B348 #487FB3
split-complementary
#B248B3 #7FB348 #48B37D
monochromatic
#5B255C #873687 #B248B3 #C572C6 #D79ED8

Accessibility & contrast

On white

4.70
#B248B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B248B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248B3#FFFFFF#000000##FFFFFF
##B248B31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#B75677
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b248b3;
/* rgb */ color: rgb(178, 72, 179);
/* oklch */ color: oklch(58.2% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#cc82ca',
    500: '#b248b3',
    950: '#000000',
  },
}
SCSS
$custom: #b248b3;
$custom-light: #cc82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b248b3",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 299.439,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.18807,
    "h": 327.3
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#B248B3
secondary
#93C492
accent
#D25557
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248B3

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

Preview Lab → · Contrast checker → · Palette generator →

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