#B954C5#B954C5

#B954C5 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.190 H 323.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B954C5
RGBrgb(185, 84, 197)
HSLhsl(294, 49%, 55%)
HSVhsv(294, 57%, 77%)
CMYKcmyk(6.1%, 57.4%, 0%, 22.7%)
CIE-LABlab(52.61, 56.61, -41.05)
CIE-LCHlch(52.61, 69.92, 324.05°)
OKLaboklab(61.54% 0.1526 -0.1138)
OKLCHoklch(61.54% 0.19 323.3)
XYZxyz(33.2550, 20.6879, 55.0540)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954C5 #60C554
analogous
#8054C5 #B954C5 #C55499
triadic
#B954C5 #C5B954 #54C5B9
tetradic
#B954C5 #C58054 #60C554 #5499C5
square
#B954C5 #C58054 #60C554 #5499C5
split-complementary
#B954C5 #99C554 #54C580
monochromatic
#6E2876 #9938A4 #B954C5 #CC82D5 #DEAFE4

Accessibility & contrast

On white

4.09
#B954C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B954C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954C5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954C5#FFFFFF#000000##000000
##B954C51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176C9
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#BC6485
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954c5;
/* rgb */ color: rgb(185, 84, 197);
/* oklch */ color: oklch(61.5% 0.190 323.3);
Tailwind
colors: {
  custom: {
    50: '#d189d7',
    500: '#b954c5',
    950: '#000000',
  },
}
SCSS
$custom: #b954c5;
$custom-light: #d189d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b954c5",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 293.628,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.19033,
    "h": 323.3
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#B954C5
secondary
#A8D2A3
accent
#D94F5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B954C5

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

Preview Lab → · Contrast checker → · Palette generator →

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