#B954BC#B954BC

#B954BC is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.182 H 326.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B954BC
RGBrgb(185, 84, 188)
HSLhsl(298, 44%, 53%)
HSVhsv(298, 55%, 74%)
CMYKcmyk(1.6%, 55.3%, 0%, 26.3%)
CIE-LABlab(52.16, 54.96, -36.56)
CIE-LCHlch(52.16, 66.01, 326.37°)
OKLaboklab(61.07% 0.1517 -0.1008)
OKLCHoklch(61.07% 0.182 326.4)
XYZxyz(32.2544, 20.2876, 49.7842)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954BC #57BC54
analogous
#8554BC #B954BC #BC548B
triadic
#B954BC #BCB954 #54BCB9
tetradic
#B954BC #BC8554 #57BC54 #548BBC
square
#B954BC #BC8554 #57BC54 #548BBC
split-complementary
#B954BC #8BBC54 #54BC85
monochromatic
#6A2A6B #953B97 #B954BC #CB80CD #DDACDE

Accessibility & contrast

On white

4.15
#B954BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B954BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954BC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954BC#FFFFFF#000000##000000
##B954BC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#BE6180
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b954bc;
/* rgb */ color: rgb(185, 84, 188);
/* oklch */ color: oklch(61.1% 0.182 326.4);
Tailwind
colors: {
  custom: {
    50: '#d189d0',
    500: '#b954bc',
    950: '#000000',
  },
}
SCSS
$custom: #b954bc;
$custom-light: #d189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b954bc",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 298.269,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.18216,
    "h": 326.4
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#B954BC
secondary
#A1CCA0
accent
#D35458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B954BC

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

Preview Lab → · Contrast checker → · Palette generator →

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