#B148C2#B148C2

#B148C2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.201 H 321.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B148C2
RGBrgb(177, 72, 194)
HSLhsl(292, 50%, 52%)
HSVhsv(292, 63%, 76%)
CMYKcmyk(8.8%, 62.9%, 0%, 23.9%)
CIE-LABlab(49.35, 59.46, -44.55)
CIE-LCHlch(49.35, 74.30, 323.16°)
OKLaboklab(58.89% 0.1579 -0.124)
OKLCHoklch(58.89% 0.201 321.8)
XYZxyz(30.1854, 17.8784, 52.8894)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148C2 #59C248
analogous
#7448C2 #B148C2 #C24896
triadic
#B148C2 #C2B148 #48C2B1
tetradic
#B148C2 #C27448 #59C248 #4896C2
square
#B148C2 #C27448 #59C248 #4896C2
split-complementary
#B148C2 #96C248 #48C274
monochromatic
#62246C #8B339A #B148C2 #C576D1 #D8A4E1

Accessibility & contrast

On white

4.59
#B148C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B148C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B148C2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148C2#FFFFFF#000000##FFFFFF
##B148C21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC6
Deuteranopia (green-blind)
#5779BF
Tritanopia (blue-blind)
#B35B7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b148c2;
/* rgb */ color: rgb(177, 72, 194);
/* oklch */ color: oklch(58.9% 0.201 321.8);
Tailwind
colors: {
  custom: {
    50: '#cb82d5',
    500: '#b148c2',
    950: '#000000',
  },
}
SCSS
$custom: #b148c2;
$custom-light: #cb82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b148c2",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 291.639,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.2008,
    "h": 321.8
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#B148C2
secondary
#A0CE98
accent
#DA4E62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B148C2

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

Preview Lab → · Contrast checker → · Palette generator →

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