#B954A7#B954A7

#B954A7 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.164 H 334.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B954A7
RGBrgb(185, 84, 167)
HSLhsl(311, 42%, 53%)
HSVhsv(311, 55%, 73%)
CMYKcmyk(0%, 54.6%, 9.7%, 27.5%)
CIE-LABlab(51.21, 51.33, -25.82)
CIE-LCHlch(51.21, 57.46, 333.30°)
OKLaboklab(60.05% 0.1485 -0.0701)
OKLCHoklch(60.05% 0.164 334.7)
XYZxyz(30.1531, 19.4471, 38.7172)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954A7 #54B966
analogous
#9854B9 #B954A7 #B95474
triadic
#B954A7 #A7B954 #54A7B9
tetradic
#B954A7 #B99854 #54B966 #5474B9
square
#B954A7 #B99854 #54B966 #5474B9
split-complementary
#B954A7 #74B954 #54B998
monochromatic
#682B5D #933C84 #B954A7 #CB7FBD #DDABD4

Accessibility & contrast

On white

4.30
#B954A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B954A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954A7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954A7#FFFFFF#000000##000000
##B954A71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#C15A76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b954a7;
/* rgb */ color: rgb(185, 84, 167);
/* oklch */ color: oklch(60.1% 0.164 334.7);
Tailwind
colors: {
  custom: {
    50: '#d089c1',
    500: '#b954a7',
    950: '#000000',
  },
}
SCSS
$custom: #b954a7;
$custom-light: #d089c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b954a7",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 310.693,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.16423,
    "h": 334.7
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#B954A7
secondary
#9FCAA6
accent
#D26C56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B954A7

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

Preview Lab → · Contrast checker → · Palette generator →

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