#B148C8#B148C8

#B148C8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.2% C 0.206 H 320.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B148C8
RGBrgb(177, 72, 200)
HSLhsl(289, 54%, 53%)
HSVhsv(289, 64%, 78%)
CMYKcmyk(11.5%, 64%, 0%, 21.6%)
CIE-LABlab(49.68, 60.59, -47.48)
CIE-LCHlch(49.68, 76.98, 321.92°)
OKLaboklab(59.23% 0.158 -0.1326)
OKLCHoklch(59.23% 0.206 320)
XYZxyz(30.8729, 18.1534, 56.5101)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148C8 #5FC848
analogous
#7148C8 #B148C8 #C8489F
triadic
#B148C8 #C8B148 #48C8B1
tetradic
#B148C8 #C87148 #5FC848 #489FC8
square
#B148C8 #C87148 #5FC848 #489FC8
split-complementary
#B148C8 #9FC848 #48C871
monochromatic
#652373 #8E31A2 #B148C8 #C577D6 #D9A6E4

Accessibility & contrast

On white

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

On black

4.63
#B148C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148C8#FFFFFF#000000##000000
##B148C81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#B25E82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b148c8;
/* rgb */ color: rgb(177, 72, 200);
/* oklch */ color: oklch(59.2% 0.206 320.0);
Tailwind
colors: {
  custom: {
    50: '#cc82d9',
    500: '#b148c8',
    950: '#000000',
  },
}
SCSS
$custom: #b148c8;
$custom-light: #cc82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b148c8",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 289.219,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.20625,
    "h": 320
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#B148C8
secondary
#A4D19A
accent
#DD4B65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148C8

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

Preview Lab → · Contrast checker → · Palette generator →

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