#B54FD9#B54FD9

#B54FD9 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.214 H 316.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B54FD9
RGBrgb(181, 79, 217)
HSLhsl(284, 64%, 58%)
HSVhsv(284, 64%, 85%)
CMYKcmyk(16.6%, 63.6%, 0%, 14.9%)
CIE-LABlab(52.32, 61.77, -52.97)
CIE-LCHlch(52.32, 81.37, 319.38°)
OKLaboklab(61.56% 0.1545 -0.1486)
OKLCHoklch(61.56% 0.214 316.1)
XYZxyz(34.3745, 20.4267, 67.7642)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD9 #73D94F
analogous
#704FD9 #B54FD9 #D94FB8
triadic
#B54FD9 #D9B54F #4FD9B5
tetradic
#B54FD9 #D9704F #73D94F #4FB8D9
square
#B54FD9 #D9704F #73D94F #4FB8D9
split-complementary
#B54FD9 #B8D94F #4FD970
monochromatic
#721F8F #9A2AC1 #B54FD9 #CA81E4 #DFB4EF

Accessibility & contrast

On white

4.13
#B54FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B54FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FD9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FD9#FFFFFF#000000##000000
##B54FD91.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A77DD
Deuteranopia (green-blind)
#4F80D6
Tritanopia (blue-blind)
#B3688D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54fd9;
/* rgb */ color: rgb(181, 79, 217);
/* oklch */ color: oklch(61.6% 0.214 316.1);
Tailwind
colors: {
  custom: {
    50: '#cf87e5',
    500: '#b54fd9',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd9;
$custom-light: #cf87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd9",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 284.348,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61564,
    "c": 0.21435,
    "h": 316.1
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#B54FD9
secondary
#B5DDA6
accent
#E7406C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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