#B54FD7#B54FD7

#B54FD7 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.212 H 316.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B54FD7
RGBrgb(181, 79, 215)
HSLhsl(285, 63%, 58%)
HSVhsv(285, 63%, 84%)
CMYKcmyk(15.8%, 63.3%, 0%, 15.7%)
CIE-LABlab(52.20, 61.37, -52.02)
CIE-LCHlch(52.20, 80.45, 319.72°)
OKLaboklab(61.44% 0.1546 -0.1458)
OKLCHoklch(61.44% 0.212 316.7)
XYZxyz(34.1160, 20.3233, 66.4025)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD7 #71D74F
analogous
#714FD7 #B54FD7 #D74FB5
triadic
#B54FD7 #D7B54F #4FD7B5
tetradic
#B54FD7 #D7714F #71D74F #4FB5D7
square
#B54FD7 #D7714F #71D74F #4FB5D7
split-complementary
#B54FD7 #B5D74F #4FD771
monochromatic
#71208C #992BBE #B54FD7 #CA81E2 #DFB3EE

Accessibility & contrast

On white

4.15
#B54FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B54FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FD7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FD7#FFFFFF#000000##000000
##B54FD71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#5180D4
Tritanopia (blue-blind)
#B3678C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54fd7;
/* rgb */ color: rgb(181, 79, 215);
/* oklch */ color: oklch(61.4% 0.212 316.7);
Tailwind
colors: {
  custom: {
    50: '#cf87e4',
    500: '#b54fd7',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd7;
$custom-light: #cf87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd7",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 285,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.21246,
    "h": 316.7
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#B54FD7
secondary
#B3DCA6
accent
#E6426B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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