#B148C7#B148C7

#B148C7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.205 H 320.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B148C7
RGBrgb(177, 72, 199)
HSLhsl(290, 53%, 53%)
HSVhsv(290, 64%, 78%)
CMYKcmyk(11.1%, 63.8%, 0%, 22%)
CIE-LABlab(49.63, 60.40, -46.99)
CIE-LCHlch(49.63, 76.53, 322.12°)
OKLaboklab(59.18% 0.158 -0.1312)
OKLCHoklch(59.18% 0.205 320.3)
XYZxyz(30.7564, 18.1068, 55.8967)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148C7 #5EC748
analogous
#7148C7 #B148C7 #C7489E
triadic
#B148C7 #C7B148 #48C7B1
tetradic
#B148C7 #C77148 #5EC748 #489EC7
square
#B148C7 #C77148 #5EC748 #489EC7
split-complementary
#B148C7 #9EC748 #48C771
monochromatic
#642372 #8D31A1 #B148C7 #C577D5 #D9A6E4

Accessibility & contrast

On white

4.54
#B148C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B148C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148C7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148C7#FFFFFF#000000##000000
##B148C71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#537AC4
Tritanopia (blue-blind)
#B25D81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b148c7;
/* rgb */ color: rgb(177, 72, 199);
/* oklch */ color: oklch(59.2% 0.205 320.3);
Tailwind
colors: {
  custom: {
    50: '#cc82d8',
    500: '#b148c7',
    950: '#000000',
  },
}
SCSS
$custom: #b148c7;
$custom-light: #cc82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b148c7",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 289.606,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.20534,
    "h": 320.3
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#B148C7
secondary
#A4D19A
accent
#DD4B64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B148C7

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

Preview Lab → · Contrast checker → · Palette generator →

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