#B148CB#B148CB

#B148CB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.209 H 319.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B148CB
RGBrgb(177, 72, 203)
HSLhsl(288, 56%, 54%)
HSVhsv(288, 65%, 80%)
CMYKcmyk(12.8%, 64.5%, 0%, 20.4%)
CIE-LABlab(49.85, 61.17, -48.94)
CIE-LCHlch(49.85, 78.33, 321.34°)
OKLaboklab(59.41% 0.158 -0.1368)
OKLCHoklch(59.41% 0.209 319.1)
XYZxyz(31.2269, 18.2950, 58.3748)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148CB #62CB48
analogous
#7048CB #B148CB #CB48A4
triadic
#B148CB #CBB148 #48CBB1
tetradic
#B148CB #CB7048 #62CB48 #48A4CB
square
#B148CB #CB7048 #62CB48 #48A4CB
split-complementary
#B148CB #A4CB48 #48CB70
monochromatic
#662277 #8F2FA6 #B148CB #C578D9 #DAA7E6

Accessibility & contrast

On white

4.51
#B148CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B148CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148CB#FFFFFF#000000##000000
##B148CB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#B15F83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b148cb;
/* rgb */ color: rgb(177, 72, 203);
/* oklch */ color: oklch(59.4% 0.209 319.1);
Tailwind
colors: {
  custom: {
    50: '#cc82db',
    500: '#b148cb',
    950: '#000000',
  },
}
SCSS
$custom: #b148cb;
$custom-light: #cc82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b148cb",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 288.092,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.20899,
    "h": 319.1
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#B148CB
secondary
#A7D39B
accent
#DF4967
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148CB

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

Preview Lab → · Contrast checker → · Palette generator →

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