#B54DBF#B54DBF

#B54DBF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.193 H 324.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B54DBF
RGBrgb(181, 77, 191)
HSLhsl(295, 47%, 53%)
HSVhsv(295, 60%, 75%)
CMYKcmyk(5.2%, 59.7%, 0%, 25.1%)
CIE-LABlab(50.56, 57.68, -40.85)
CIE-LCHlch(50.56, 70.68, 324.69°)
OKLaboklab(59.83% 0.1564 -0.1132)
OKLCHoklch(59.83% 0.193 324.1)
XYZxyz(31.1131, 18.8948, 51.2884)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DBF #57BF4D
analogous
#7C4DBF #B54DBF #BF4D90
triadic
#B54DBF #BFB54D #4DBFB5
tetradic
#B54DBF #BF7C4D #57BF4D #4D90BF
square
#B54DBF #BF7C4D #57BF4D #4D90BF
split-complementary
#B54DBF #90BF4D #4DBF7C
monochromatic
#65276B #903798 #B54DBF #C87ACF #DAA7DF

Accessibility & contrast

On white

4.39
#B54DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B54DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DBF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DBF#FFFFFF#000000##000000
##B54DBF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C3
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#B85D7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54dbf;
/* rgb */ color: rgb(181, 77, 191);
/* oklch */ color: oklch(59.8% 0.193 324.1);
Tailwind
colors: {
  custom: {
    50: '#ce85d3',
    500: '#b54dbf',
    950: '#000000',
  },
}
SCSS
$custom: #b54dbf;
$custom-light: #ce85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dbf",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 294.737,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.19304,
    "h": 324.1
  },
  "luminance": 0.18893
}

Semantic roles & 50–950 ramp

primary
#B54DBF
secondary
#9FCD9B
accent
#D7515D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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