#B754AB#B754AB

#B754AB is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.166 H 332.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B754AB
RGBrgb(183, 84, 171)
HSLhsl(307, 41%, 52%)
HSVhsv(307, 54%, 72%)
CMYKcmyk(0%, 54.1%, 6.6%, 28.2%)
CIE-LABlab(51.09, 51.42, -28.36)
CIE-LCHlch(51.09, 58.72, 331.12°)
OKLaboklab(59.97% 0.147 -0.0773)
OKLCHoklch(59.97% 0.166 332.3)
XYZxyz(30.0494, 19.3502, 40.6724)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754AB #54B760
analogous
#9254B7 #B754AB #B75479
triadic
#B754AB #ABB754 #54ABB7
tetradic
#B754AB #B79254 #54B760 #5479B7
square
#B754AB #B79254 #54B760 #5479B7
split-complementary
#B754AB #79B754 #54B792
monochromatic
#662B5F #913D87 #B754AB #C97FC0 #DBAAD5

Accessibility & contrast

On white

4.31
#B754AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B754AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754AB#FFFFFF#000000##000000
##B754AB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#6E7FA8
Tritanopia (blue-blind)
#BE5B78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b754ab;
/* rgb */ color: rgb(183, 84, 171);
/* oklch */ color: oklch(60.0% 0.166 332.3);
Tailwind
colors: {
  custom: {
    50: '#cf89c4',
    500: '#b754ab',
    950: '#000000',
  },
}
SCSS
$custom: #b754ab;
$custom-light: #cf89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b754ab",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 307.273,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.16613,
    "h": 332.3
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#B754AB
secondary
#9EC9A3
accent
#D16657
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B754AB

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

Preview Lab → · Contrast checker → · Palette generator →

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