#B54CBF#B54CBF

#B54CBF is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.194 H 324.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B54CBF
RGBrgb(181, 76, 191)
HSLhsl(295, 47%, 52%)
HSVhsv(295, 60%, 75%)
CMYKcmyk(5.2%, 60.2%, 0%, 25.1%)
CIE-LABlab(50.40, 58.13, -41.11)
CIE-LCHlch(50.40, 71.19, 324.73°)
OKLaboklab(59.71% 0.1576 -0.114)
OKLCHoklch(59.71% 0.194 324.1)
XYZxyz(31.0436, 18.7559, 51.2652)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CBF #56BF4C
analogous
#7C4CBF #B54CBF #BF4C8F
triadic
#B54CBF #BFB54C #4CBFB5
tetradic
#B54CBF #BF7C4C #56BF4C #4C8FBF
square
#B54CBF #BF7C4C #56BF4C #4C8FBF
split-complementary
#B54CBF #8FBF4C #4CBF7C
monochromatic
#65266B #8F3698 #B54CBF #C879CF #DAA6DF

Accessibility & contrast

On white

4.42
#B54CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B54CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CBF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CBF#FFFFFF#000000##000000
##B54CBF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#B85C7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54cbf;
/* rgb */ color: rgb(181, 76, 191);
/* oklch */ color: oklch(59.7% 0.194 324.1);
Tailwind
colors: {
  custom: {
    50: '#ce84d3',
    500: '#b54cbf',
    950: '#000000',
  },
}
SCSS
$custom: #b54cbf;
$custom-light: #ce84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cbf",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 294.783,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.19448,
    "h": 324.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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