#B148D3#B148D3

#B148D3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.216 H 316.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B148D3
RGBrgb(177, 72, 211)
HSLhsl(285, 61%, 55%)
HSVhsv(285, 66%, 83%)
CMYKcmyk(16.1%, 65.9%, 0%, 17.3%)
CIE-LABlab(50.32, 62.72, -52.78)
CIE-LCHlch(50.32, 81.97, 319.92°)
OKLaboklab(59.9% 0.1578 -0.1481)
OKLCHoklch(59.9% 0.216 316.8)
XYZxyz(32.2050, 18.6863, 63.5258)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148D3 #6AD348
analogous
#6C48D3 #B148D3 #D348AF
triadic
#B148D3 #D3B148 #48D3B1
tetradic
#B148D3 #D36C48 #6AD348 #48AFD3
square
#B148D3 #D36C48 #6AD348 #48AFD3
split-complementary
#B148D3 #AFD348 #48D36C
monochromatic
#691F81 #922BB3 #B148D3 #C679DF #DBABEB

Accessibility & contrast

On white

4.43
#B148D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B148D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148D3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148D3#FFFFFF#000000##000000
##B148D31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0671D7
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#AF6288
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b148d3;
/* rgb */ color: rgb(177, 72, 211);
/* oklch */ color: oklch(59.9% 0.216 316.8);
Tailwind
colors: {
  custom: {
    50: '#cc82e1',
    500: '#b148d3',
    950: '#000000',
  },
}
SCSS
$custom: #b148d3;
$custom-light: #cc82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b148d3",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 285.324,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.21636,
    "h": 316.8
  },
  "luminance": 0.18685
}

Semantic roles & 50–950 ramp

primary
#B148D3
secondary
#ADD89E
accent
#E4436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148D3

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

Preview Lab → · Contrast checker → · Palette generator →

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