#B54BC7#B54BC7

#B54BC7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.203 H 321.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B54BC7
RGBrgb(181, 75, 199)
HSLhsl(291, 53%, 54%)
HSVhsv(291, 62%, 78%)
CMYKcmyk(9%, 62.3%, 0%, 22%)
CIE-LABlab(50.66, 60.05, -45.31)
CIE-LCHlch(50.66, 75.22, 322.97°)
OKLaboklab(60.04% 0.1591 -0.1262)
OKLCHoklch(60.04% 0.203 321.6)
XYZxyz(31.8798, 18.9810, 56.0062)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BC7 #5DC74B
analogous
#774BC7 #B54BC7 #C74B9B
triadic
#B54BC7 #C7B54B #4BC7B5
tetradic
#B54BC7 #C7774B #5DC74B #4B9BC7
square
#B54BC7 #C7774B #5DC74B #4B9BC7
split-complementary
#B54BC7 #9BC74B #4BC777
monochromatic
#682474 #9232A2 #B54BC7 #C87AD6 #DBA8E4

Accessibility & contrast

On white

4.38
#B54BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B54BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BC7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BC7#FFFFFF#000000##000000
##B54BC71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#B75F82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54bc7;
/* rgb */ color: rgb(181, 75, 199);
/* oklch */ color: oklch(60.0% 0.203 321.6);
Tailwind
colors: {
  custom: {
    50: '#ce84d8',
    500: '#b54bc7',
    950: '#000000',
  },
}
SCSS
$custom: #b54bc7;
$custom-light: #ce84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bc7",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 291.29,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.20309,
    "h": 321.6
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#B54BC7
secondary
#A4D19C
accent
#DC4C61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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