#B54EBF#B54EBF

#B54EBF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 60.0% C 0.192 H 324.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B54EBF
RGBrgb(181, 78, 191)
HSLhsl(295, 47%, 53%)
HSVhsv(295, 59%, 75%)
CMYKcmyk(5.2%, 59.2%, 0%, 25.1%)
CIE-LABlab(50.73, 57.23, -40.59)
CIE-LCHlch(50.73, 70.16, 324.65°)
OKLaboklab(59.95% 0.1551 -0.1125)
OKLCHoklch(59.95% 0.192 324.1)
XYZxyz(31.1836, 19.0358, 51.3119)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EBF #58BF4E
analogous
#7C4EBF #B54EBF #BF4E91
triadic
#B54EBF #BFB54E #4EBFB5
tetradic
#B54EBF #BF7C4E #58BF4E #4E91BF
square
#B54EBF #BF7C4E #58BF4E #4E91BF
split-complementary
#B54EBF #91BF4E #4EBF7C
monochromatic
#66276C #903799 #B54EBF #C87BCF #DBA8E0

Accessibility & contrast

On white

4.37
#B54EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B54EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EBF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EBF#FFFFFF#000000##000000
##B54EBF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#B85E7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54ebf;
/* rgb */ color: rgb(181, 78, 191);
/* oklch */ color: oklch(60.0% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#ce85d3',
    500: '#b54ebf',
    950: '#000000',
  },
}
SCSS
$custom: #b54ebf;
$custom-light: #ce85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ebf",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 294.69,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.1916,
    "h": 324.1
  },
  "luminance": 0.19034
}

Semantic roles & 50–950 ramp

primary
#B54EBF
secondary
#A0CD9C
accent
#D7515D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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