#B948C3#B948C3

#B948C3 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.206 H 324.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B948C3
RGBrgb(185, 72, 195)
HSLhsl(295, 51%, 52%)
HSVhsv(295, 63%, 76%)
CMYKcmyk(5.1%, 63.1%, 0%, 23.5%)
CIE-LABlab(50.56, 61.57, -43.13)
CIE-LCHlch(50.56, 75.18, 324.99°)
OKLaboklab(60.01% 0.1671 -0.1197)
OKLCHoklch(60.01% 0.206 324.4)
XYZxyz(32.1744, 18.8910, 53.5708)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948C3 #52C348
analogous
#7C48C3 #B948C3 #C3488F
triadic
#B948C3 #C3B948 #48C3B9
tetradic
#B948C3 #C37C48 #52C348 #488FC3
square
#B948C3 #C37C48 #52C348 #488FC3
split-complementary
#B948C3 #8FC348 #48C37C
monochromatic
#67246D #93339B #B948C3 #CB76D2 #DCA4E1

Accessibility & contrast

On white

4.40
#B948C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B948C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948C3#FFFFFF#000000##000000
##B948C31.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3170C7
Deuteranopia (green-blind)
#5D7DC0
Tritanopia (blue-blind)
#BD5A7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b948c3;
/* rgb */ color: rgb(185, 72, 195);
/* oklch */ color: oklch(60.0% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#d183d5',
    500: '#b948c3',
    950: '#000000',
  },
}
SCSS
$custom: #b948c3;
$custom-light: #d183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b948c3",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 295.122,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.20559,
    "h": 324.4
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#B948C3
secondary
#9DCE99
accent
#DA4E59
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B948C3

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

Preview Lab → · Contrast checker → · Palette generator →

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