#B948C2#B948C2

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

Color values

HEX#B948C2
RGBrgb(185, 72, 194)
HSLhsl(296, 50%, 52%)
HSVhsv(296, 63%, 76%)
CMYKcmyk(4.6%, 62.9%, 0%, 23.9%)
CIE-LABlab(50.51, 61.39, -42.64)
CIE-LCHlch(50.51, 74.75, 325.22°)
OKLaboklab(59.96% 0.1671 -0.1183)
OKLCHoklch(59.96% 0.205 324.7)
XYZxyz(32.0618, 18.8459, 52.9773)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948C2 #51C248
analogous
#7C48C2 #B948C2 #C2488E
triadic
#B948C2 #C2B948 #48C2B9
tetradic
#B948C2 #C27C48 #51C248 #488EC2
square
#B948C2 #C27C48 #51C248 #488EC2
split-complementary
#B948C2 #8EC248 #48C27C
monochromatic
#66246C #92339A #B948C2 #CB76D1 #DCA4E1

Accessibility & contrast

On white

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

On black

4.77
#B948C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948C2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948C2#FFFFFF#000000##000000
##B948C21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#326FC6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#BD5A7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b948c2;
/* rgb */ color: rgb(185, 72, 194);
/* oklch */ color: oklch(60.0% 0.205 324.7);
Tailwind
colors: {
  custom: {
    50: '#d183d5',
    500: '#b948c2',
    950: '#000000',
  },
}
SCSS
$custom: #b948c2;
$custom-light: #d183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b948c2",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 295.574,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.20473,
    "h": 324.7
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B948C2

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

Preview Lab → · Contrast checker → · Palette generator →

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