#B954BD#B954BD

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

Color values

HEX#B954BD
RGBrgb(185, 84, 189)
HSLhsl(298, 44%, 54%)
HSVhsv(298, 56%, 74%)
CMYKcmyk(2.1%, 55.6%, 0%, 25.9%)
CIE-LABlab(52.21, 55.14, -37.06)
CIE-LCHlch(52.21, 66.44, 326.09°)
OKLaboklab(61.12% 0.1518 -0.1022)
OKLCHoklch(61.12% 0.183 326)
XYZxyz(32.3626, 20.3309, 50.3539)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954BD #58BD54
analogous
#8454BD #B954BD #BD548C
triadic
#B954BD #BDB954 #54BDB9
tetradic
#B954BD #BD8454 #58BD54 #548CBD
square
#B954BD #BD8454 #58BD54 #548CBD
split-complementary
#B954BD #8CBD54 #54BD84
monochromatic
#6A2A6D #953B99 #B954BD #CB80CE #DDACDF

Accessibility & contrast

On white

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

On black

5.07
#B954BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954BD#FFFFFF#000000##000000
##B954BD1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774C0
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#BD6181
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b954bd;
/* rgb */ color: rgb(185, 84, 189);
/* oklch */ color: oklch(61.1% 0.183 326.0);
Tailwind
colors: {
  custom: {
    50: '#d189d1',
    500: '#b954bd',
    950: '#000000',
  },
}
SCSS
$custom: #b954bd;
$custom-light: #d189d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b954bd",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 297.714,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.18305,
    "h": 326
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#B954BD
secondary
#A2CDA0
accent
#D45459
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B954BD

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

Preview Lab → · Contrast checker → · Palette generator →

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