#B148D5#B148D5

#B148D5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.218 H 316.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B148D5
RGBrgb(177, 72, 213)
HSLhsl(285, 63%, 56%)
HSVhsv(285, 66%, 84%)
CMYKcmyk(16.9%, 66.2%, 0%, 16.5%)
CIE-LABlab(50.44, 63.12, -53.73)
CIE-LCHlch(50.44, 82.89, 319.59°)
OKLaboklab(60.02% 0.1577 -0.1509)
OKLCHoklch(60.02% 0.218 316.3)
XYZxyz(32.4572, 18.7872, 64.8545)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148D5 #6CD548
analogous
#6A48D5 #B148D5 #D548B2
triadic
#B148D5 #D5B148 #48D5B1
tetradic
#B148D5 #D56A48 #6CD548 #48B2D5
square
#B148D5 #D56A48 #6CD548 #48B2D5
split-complementary
#B148D5 #B2D548 #48D56A
monochromatic
#6A1E84 #922AB6 #B148D5 #C67AE0 #DBACEC

Accessibility & contrast

On white

4.41
#B148D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B148D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148D5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148D5#FFFFFF#000000##000000
##B148D51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#487BD2
Tritanopia (blue-blind)
#AF6389
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b148d5;
/* rgb */ color: rgb(177, 72, 213);
/* oklch */ color: oklch(60.0% 0.218 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc82e3',
    500: '#b148d5',
    950: '#000000',
  },
}
SCSS
$custom: #b148d5;
$custom-light: #cc82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b148d5",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 284.681,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.21822,
    "h": 316.3
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#B148D5
secondary
#AEDA9F
accent
#E6426C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148D5

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

Preview Lab → · Contrast checker → · Palette generator →

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