#B54FD1#B54FD1

#B54FD1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.1% C 0.207 H 318.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B54FD1
RGBrgb(181, 79, 209)
HSLhsl(287, 59%, 56%)
HSVhsv(287, 62%, 82%)
CMYKcmyk(13.4%, 62.2%, 0%, 18%)
CIE-LABlab(51.86, 60.19, -49.14)
CIE-LCHlch(51.86, 77.70, 320.77°)
OKLaboklab(61.09% 0.1546 -0.1374)
OKLCHoklch(61.09% 0.207 318.4)
XYZxyz(33.3591, 20.0206, 62.4164)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD1 #6BD14F
analogous
#744FD1 #B54FD1 #D14FAC
triadic
#B54FD1 #D1B54F #4FD1B5
tetradic
#B54FD1 #D1744F #6BD14F #4FACD1
square
#B54FD1 #D1744F #6BD14F #4FACD1
split-complementary
#B54FD1 #ACD14F #4FD174
monochromatic
#6E2283 #972FB4 #B54FD1 #C980DE #DEB0EA

Accessibility & contrast

On white

4.20
#B54FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B54FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FD1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FD1#FFFFFF#000000##000000
##B54FD11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2975D5
Deuteranopia (green-blind)
#557FCE
Tritanopia (blue-blind)
#B56589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54fd1;
/* rgb */ color: rgb(181, 79, 209);
/* oklch */ color: oklch(61.1% 0.207 318.4);
Tailwind
colors: {
  custom: {
    50: '#ce86e0',
    500: '#b54fd1',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd1;
$custom-light: #ce86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd1",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 287.077,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61087,
    "c": 0.20679,
    "h": 318.4
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#B54FD1
secondary
#AFD9A3
accent
#E24668
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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