#B954B2#B954B2

#B954B2 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.173 H 330.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B954B2
RGBrgb(185, 84, 178)
HSLhsl(304, 42%, 53%)
HSVhsv(304, 55%, 73%)
CMYKcmyk(0%, 54.6%, 3.8%, 27.5%)
CIE-LABlab(51.69, 53.19, -31.49)
CIE-LCHlch(51.69, 61.81, 329.37°)
OKLaboklab(60.57% 0.1504 -0.0862)
OKLCHoklch(60.57% 0.173 330.2)
XYZxyz(31.2135, 19.8713, 44.3023)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954B2 #54B95B
analogous
#8D54B9 #B954B2 #B95480
triadic
#B954B2 #B2B954 #54B2B9
tetradic
#B954B2 #B98D54 #54B95B #5480B9
square
#B954B2 #B98D54 #54B95B #5480B9
split-complementary
#B954B2 #80B954 #54B98D
monochromatic
#682B64 #933C8D #B954B2 #CB7FC6 #DDABD9

Accessibility & contrast

On white

4.22
#B954B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B954B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954B2#FFFFFF#000000##000000
##B954B21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#BF5D7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b954b2;
/* rgb */ color: rgb(185, 84, 178);
/* oklch */ color: oklch(60.6% 0.173 330.2);
Tailwind
colors: {
  custom: {
    50: '#d089c9',
    500: '#b954b2',
    950: '#000000',
  },
}
SCSS
$custom: #b954b2;
$custom-light: #d089c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b954b2",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 304.158,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.17338,
    "h": 330.2
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#B954B2
secondary
#9FCAA2
accent
#D25F56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B954B2

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

Preview Lab → · Contrast checker → · Palette generator →

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