#B948CB#B948CB

#B948CB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.213 H 321.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B948CB
RGBrgb(185, 72, 203)
HSLhsl(292, 56%, 54%)
HSVhsv(292, 65%, 80%)
CMYKcmyk(8.9%, 64.5%, 0%, 20.4%)
CIE-LABlab(50.99, 63.03, -47.05)
CIE-LCHlch(50.99, 78.65, 323.26°)
OKLaboklab(60.47% 0.1673 -0.1311)
OKLCHoklch(60.47% 0.213 321.9)
XYZxyz(33.1033, 19.2625, 58.4627)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948CB #5ACB48
analogous
#7848CB #B948CB #CB489C
triadic
#B948CB #CBB948 #48CBB9
tetradic
#B948CB #CB7848 #5ACB48 #489CCB
square
#B948CB #CB7848 #5ACB48 #489CCB
split-complementary
#B948CB #9CCB48 #48CB78
monochromatic
#6B2277 #962FA6 #B948CB #CB78D9 #DDA7E6

Accessibility & contrast

On white

4.33
#B948CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B948CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948CB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948CB#FFFFFF#000000##000000
##B948CB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#BB5D83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b948cb;
/* rgb */ color: rgb(185, 72, 203);
/* oklch */ color: oklch(60.5% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#d183db',
    500: '#b948cb',
    950: '#000000',
  },
}
SCSS
$custom: #b948cb;
$custom-light: #d183db;
$custom-dark: #000000;
JSON
{
  "hex": "#b948cb",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 291.756,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.21258,
    "h": 321.9
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#B948CB
secondary
#A3D39B
accent
#DF495D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B948CB

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

Preview Lab → · Contrast checker → · Palette generator →

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