#B148AF#B148AF

#B148AF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.184 H 328.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B148AF
RGBrgb(177, 72, 175)
HSLhsl(301, 42%, 49%)
HSVhsv(301, 59%, 69%)
CMYKcmyk(0%, 59.3%, 1.1%, 30.6%)
CIE-LABlab(48.36, 56.02, -35.04)
CIE-LCHlch(48.36, 66.08, 327.97°)
OKLaboklab(57.85% 0.1568 -0.0965)
OKLCHoklch(57.85% 0.184 328.4)
XYZxyz(28.1863, 17.0788, 42.3611)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148AF #48B14A
analogous
#7F48B1 #B148AF #B1487B
triadic
#B148AF #AFB148 #48AFB1
tetradic
#B148AF #B17F48 #48B14A #487BB1
square
#B148AF #B17F48 #48B14A #487BB1
split-complementary
#B148AF #7BB148 #48B17F
monochromatic
#5A2559 #853684 #B148AF #C571C4 #D79CD6

Accessibility & contrast

On white

4.76
#B148AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B148AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B148AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148AF#FFFFFF#000000##FFFFFF
##B148AF1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#B65475
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b148af;
/* rgb */ color: rgb(177, 72, 175);
/* oklch */ color: oklch(57.8% 0.184 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb81c7',
    500: '#b148af',
    950: '#000000',
  },
}
SCSS
$custom: #b148af;
$custom-light: #cb81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b148af",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 301.143,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.18407,
    "h": 328.4
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#B148AF
secondary
#91C392
accent
#D25856
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B148AF

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

Preview Lab → · Contrast checker → · Palette generator →

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