#B954BA#B954BA

#B954BA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.180 H 327.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B954BA
RGBrgb(185, 84, 186)
HSLhsl(299, 43%, 53%)
HSVhsv(299, 55%, 73%)
CMYKcmyk(0.5%, 54.8%, 0%, 27.1%)
CIE-LABlab(52.06, 54.60, -35.55)
CIE-LCHlch(52.06, 65.15, 326.93°)
OKLaboklab(60.96% 0.1515 -0.0979)
OKLCHoklch(60.96% 0.18 327.1)
XYZxyz(32.0403, 20.2020, 48.6566)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954BA #55BA54
analogous
#8654BA #B954BA #BA5488
triadic
#B954BA #BAB954 #54BAB9
tetradic
#B954BA #BA8654 #55BA54 #5488BA
square
#B954BA #BA8654 #55BA54 #5488BA
split-complementary
#B954BA #88BA54 #54BA86
monochromatic
#692A69 #943C95 #B954BA #CB80CC #DDABDD

Accessibility & contrast

On white

4.17
#B954BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B954BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954BA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954BA#FFFFFF#000000##000000
##B954BA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#BE607F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b954ba;
/* rgb */ color: rgb(185, 84, 186);
/* oklch */ color: oklch(61.0% 0.180 327.1);
Tailwind
colors: {
  custom: {
    50: '#d189cf',
    500: '#b954ba',
    950: '#000000',
  },
}
SCSS
$custom: #b954ba;
$custom-light: #d189cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ba",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 299.412,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.18037,
    "h": 327.1
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#B954BA
secondary
#9FCB9F
accent
#D25657
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B954BA

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

Preview Lab → · Contrast checker → · Palette generator →

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