#B948BC#B948BC

#B948BC is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.6% C 0.200 H 326.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B948BC
RGBrgb(185, 72, 188)
HSLhsl(298, 46%, 51%)
HSVhsv(298, 62%, 74%)
CMYKcmyk(1.6%, 61.7%, 0%, 26.3%)
CIE-LABlab(50.19, 60.33, -39.66)
CIE-LCHlch(50.19, 72.20, 326.68°)
OKLaboklab(59.63% 0.1668 -0.1096)
OKLCHoklch(59.63% 0.2 326.7)
XYZxyz(31.4015, 18.5818, 49.4999)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948BC #4BBC48
analogous
#7F48BC #B948BC #BC4885
triadic
#B948BC #BCB948 #48BCB9
tetradic
#B948BC #BC7F48 #4BBC48 #4885BC
square
#B948BC #BC7F48 #4BBC48 #4885BC
split-complementary
#B948BC #85BC48 #48BC7F
monochromatic
#632565 #8F3592 #B948BC #CA75CC #DBA2DD

Accessibility & contrast

On white

4.45
#B948BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B948BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948BC#FFFFFF#000000##000000
##B948BC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#617CB9
Tritanopia (blue-blind)
#BE587C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b948bc;
/* rgb */ color: rgb(185, 72, 188);
/* oklch */ color: oklch(59.6% 0.200 326.7);
Tailwind
colors: {
  custom: {
    50: '#d182d0',
    500: '#b948bc',
    950: '#000000',
  },
}
SCSS
$custom: #b948bc;
$custom-light: #d182d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b948bc",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 298.448,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.1996,
    "h": 326.7
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#B948BC
secondary
#98CA96
accent
#D65255
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B948BC

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

Preview Lab → · Contrast checker → · Palette generator →

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