#B54FD3#B54FD3

#B54FD3 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.209 H 317.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B54FD3
RGBrgb(181, 79, 211)
HSLhsl(286, 60%, 57%)
HSVhsv(286, 63%, 83%)
CMYKcmyk(14.2%, 62.6%, 0%, 17.3%)
CIE-LABlab(51.97, 60.58, -50.10)
CIE-LCHlch(51.97, 78.62, 320.41°)
OKLaboklab(61.21% 0.1546 -0.1402)
OKLCHoklch(61.21% 0.209 317.8)
XYZxyz(33.6083, 20.1202, 63.7287)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD3 #6DD34F
analogous
#734FD3 #B54FD3 #D34FAF
triadic
#B54FD3 #D3B54F #4FD3B5
tetradic
#B54FD3 #D3734F #6DD34F #4FAFD3
square
#B54FD3 #D3734F #6DD34F #4FAFD3
split-complementary
#B54FD3 #AFD34F #4FD373
monochromatic
#6F2286 #982EB7 #B54FD3 #CA80DF #DEB1EB

Accessibility & contrast

On white

4.18
#B54FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B54FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FD3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FD3#FFFFFF#000000##000000
##B54FD31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D7
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#B4668A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54fd3;
/* rgb */ color: rgb(181, 79, 211);
/* oklch */ color: oklch(61.2% 0.209 317.8);
Tailwind
colors: {
  custom: {
    50: '#ce87e1',
    500: '#b54fd3',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd3;
$custom-light: #ce87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd3",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 286.364,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.20868,
    "h": 317.8
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#B54FD3
secondary
#B0DAA4
accent
#E34569
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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