#B54FB2#B54FB2

#B54FB2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.179 H 328.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B54FB2
RGBrgb(181, 79, 178)
HSLhsl(302, 41%, 51%)
HSVhsv(302, 56%, 71%)
CMYKcmyk(0%, 56.4%, 1.7%, 29%)
CIE-LABlab(50.25, 54.43, -33.78)
CIE-LCHlch(50.25, 64.06, 328.17°)
OKLaboklab(59.4% 0.1526 -0.0928)
OKLCHoklch(59.4% 0.179 328.7)
XYZxyz(29.8876, 18.6320, 44.1330)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FB2 #4FB552
analogous
#854FB5 #B54FB2 #B54F7F
triadic
#B54FB2 #B2B54F #4FB2B5
tetradic
#B54FB2 #B5854F #4FB552 #4F7FB5
square
#B54FB2 #B5854F #4FB552 #4F7FB5
split-complementary
#B54FB2 #7FB54F #4FB585
monochromatic
#61295F #8C3B8A #B54FB2 #C77AC5 #D9A5D8

Accessibility & contrast

On white

4.44
#B54FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B54FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FB2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FB2#FFFFFF#000000##000000
##B54FB21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#BB5A79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54fb2;
/* rgb */ color: rgb(181, 79, 178);
/* oklch */ color: oklch(59.4% 0.179 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce86c9',
    500: '#b54fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b54fb2;
$custom-light: #ce86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fb2",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 301.765,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.17861,
    "h": 328.7
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#B54FB2
secondary
#99C69B
accent
#D15B57
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B54FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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