#B954AF#B954AF

#B954AF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.4% C 0.171 H 331.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B954AF
RGBrgb(185, 84, 175)
HSLhsl(306, 42%, 53%)
HSVhsv(306, 55%, 73%)
CMYKcmyk(0%, 54.6%, 5.4%, 27.5%)
CIE-LABlab(51.56, 52.67, -29.96)
CIE-LCHlch(51.56, 60.59, 330.37°)
OKLaboklab(60.42% 0.15 -0.0818)
OKLCHoklch(60.42% 0.171 331.4)
XYZxyz(30.9156, 19.7521, 42.7333)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954AF #54B95E
analogous
#9154B9 #B954AF #B9547C
triadic
#B954AF #AFB954 #54AFB9
tetradic
#B954AF #B99154 #54B95E #547CB9
square
#B954AF #B99154 #54B95E #547CB9
split-complementary
#B954AF #7CB954 #54B991
monochromatic
#682B62 #933C8B #B954AF #CB7FC3 #DDABD8

Accessibility & contrast

On white

4.24
#B954AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B954AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954AF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954AF#FFFFFF#000000##000000
##B954AF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#C05C7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b954af;
/* rgb */ color: rgb(185, 84, 175);
/* oklch */ color: oklch(60.4% 0.171 331.4);
Tailwind
colors: {
  custom: {
    50: '#d089c7',
    500: '#b954af',
    950: '#000000',
  },
}
SCSS
$custom: #b954af;
$custom-light: #d089c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b954af",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 305.941,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.17082,
    "h": 331.4
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#B954AF
secondary
#9FCAA3
accent
#D26256
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B954AF

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

Preview Lab → · Contrast checker → · Palette generator →

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