#B948C8#B948C8

#B948C8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.210 H 322.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B948C8
RGBrgb(185, 72, 200)
HSLhsl(293, 54%, 53%)
HSVhsv(293, 64%, 78%)
CMYKcmyk(7.5%, 64%, 0%, 21.6%)
CIE-LABlab(50.83, 62.48, -45.59)
CIE-LCHlch(50.83, 77.34, 323.88°)
OKLaboklab(60.3% 0.1673 -0.1269)
OKLCHoklch(60.3% 0.21 322.8)
XYZxyz(32.7492, 19.1209, 56.5981)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948C8 #57C848
analogous
#7948C8 #B948C8 #C84897
triadic
#B948C8 #C8B948 #48C8B9
tetradic
#B948C8 #C87948 #57C848 #4897C8
square
#B948C8 #C87948 #57C848 #4897C8
split-complementary
#B948C8 #97C848 #48C879
monochromatic
#6A2373 #9531A2 #B948C8 #CB77D6 #DDA6E4

Accessibility & contrast

On white

4.35
#B948C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B948C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948C8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948C8#FFFFFF#000000##000000
##B948C81.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#BC5C82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b948c8;
/* rgb */ color: rgb(185, 72, 200);
/* oklch */ color: oklch(60.3% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#d183d9',
    500: '#b948c8',
    950: '#000000',
  },
}
SCSS
$custom: #b948c8;
$custom-light: #d183d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b948c8",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 292.969,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.20994,
    "h": 322.8
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

primary
#B948C8
secondary
#A1D19A
accent
#DD4B5C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B948C8

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

Preview Lab → · Contrast checker → · Palette generator →

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