#B54BBE#B54BBE

#B54BBE is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.195 H 324.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B54BBE
RGBrgb(181, 75, 190)
HSLhsl(295, 47%, 52%)
HSVhsv(295, 61%, 75%)
CMYKcmyk(4.7%, 60.5%, 0%, 25.5%)
CIE-LABlab(50.19, 58.39, -40.87)
CIE-LCHlch(50.19, 71.27, 325.01°)
OKLaboklab(59.54% 0.1588 -0.1133)
OKLCHoklch(59.54% 0.195 324.5)
XYZxyz(30.8656, 18.5754, 50.6648)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BBE #54BE4B
analogous
#7B4BBE #B54BBE #BE4B8E
triadic
#B54BBE #BEB54B #4BBEB5
tetradic
#B54BBE #BE7B4B #54BE4B #4B8EBE
square
#B54BBE #BE7B4B #54BE4B #4B8EBE
split-complementary
#B54BBE #8EBE4B #4BBE7B
monochromatic
#642669 #8E3696 #B54BBE #C778CE #DAA5DE

Accessibility & contrast

On white

4.45
#B54BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B54BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BBE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BBE#FFFFFF#000000##000000
##B54BBE1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC2
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#B95B7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54bbe;
/* rgb */ color: rgb(181, 75, 190);
/* oklch */ color: oklch(59.5% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#ce84d2',
    500: '#b54bbe',
    950: '#000000',
  },
}
SCSS
$custom: #b54bbe;
$custom-light: #ce84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bbe",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 295.304,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.19503,
    "h": 324.5
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#B54BBE
secondary
#9DCC99
accent
#D7515C
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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