#B54BC8#B54BC8

#B54BC8 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.204 H 321.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B54BC8
RGBrgb(181, 75, 200)
HSLhsl(291, 53%, 54%)
HSVhsv(291, 63%, 78%)
CMYKcmyk(9.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(50.72, 60.24, -45.80)
CIE-LCHlch(50.72, 75.67, 322.76°)
OKLaboklab(60.1% 0.1592 -0.1276)
OKLCHoklch(60.1% 0.204 321.3)
XYZxyz(31.9963, 19.0276, 56.6197)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BC8 #5EC84B
analogous
#774BC8 #B54BC8 #C84B9D
triadic
#B54BC8 #C8B54B #4BC8B5
tetradic
#B54BC8 #C8774B #5EC84B #4B9DC8
square
#B54BC8 #C8774B #5EC84B #4B9DC8
split-complementary
#B54BC8 #9DC84B #4BC877
monochromatic
#692475 #9232A4 #B54BC8 #C87AD6 #DCA9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54BC8#FFFFFF#000000##000000
##B54BC81.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)
#2D71CC
Deuteranopia (green-blind)
#587DC5
Tritanopia (blue-blind)
#B75F83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54bc8;
/* rgb */ color: rgb(181, 75, 200);
/* oklch */ color: oklch(60.1% 0.204 321.3);
Tailwind
colors: {
  custom: {
    50: '#ce84d9',
    500: '#b54bc8',
    950: '#000000',
  },
}
SCSS
$custom: #b54bc8;
$custom-light: #ce84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bc8",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 290.88,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.601,
    "c": 0.204,
    "h": 321.3
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#B54BC8
secondary
#A5D29D
accent
#DD4B61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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