#B148B3#B148B3

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

Color values

HEX#B148B3
RGBrgb(177, 72, 179)
HSLhsl(299, 43%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(1.1%, 59.8%, 0%, 29.8%)
CIE-LABlab(48.56, 56.72, -37.07)
CIE-LCHlch(48.56, 67.76, 326.83°)
OKLaboklab(58.06% 0.1571 -0.1023)
OKLCHoklch(58.06% 0.188 326.9)
XYZxyz(28.5850, 17.2383, 44.4608)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148B3 #4AB348
analogous
#7C48B3 #B148B3 #B3487F
triadic
#B148B3 #B3B148 #48B3B1
tetradic
#B148B3 #B37C48 #4AB348 #487FB3
square
#B148B3 #B37C48 #4AB348 #487FB3
split-complementary
#B148B3 #7FB348 #48B37C
monochromatic
#5B255C #863687 #B148B3 #C572C6 #D79ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B148B3#FFFFFF#000000##FFFFFF
##B148B31.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)
#3A6BB6
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#B65677
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b148b3;
/* rgb */ color: rgb(177, 72, 179);
/* oklch */ color: oklch(58.1% 0.188 326.9);
Tailwind
colors: {
  custom: {
    50: '#cb81ca',
    500: '#b148b3',
    950: '#000000',
  },
}
SCSS
$custom: #b148b3;
$custom-light: #cb81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b148b3",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 298.879,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.18751,
    "h": 326.9
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B148B3

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

Preview Lab → · Contrast checker → · Palette generator →

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