#B54FC4#B54FC4

#B54FC4 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.3% C 0.195 H 322.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B54FC4
RGBrgb(181, 79, 196)
HSLhsl(292, 50%, 54%)
HSVhsv(292, 60%, 77%)
CMYKcmyk(7.7%, 59.7%, 0%, 23.1%)
CIE-LABlab(51.16, 57.70, -42.80)
CIE-LCHlch(51.16, 71.84, 323.43°)
OKLaboklab(60.35% 0.1542 -0.1189)
OKLCHoklch(60.35% 0.195 322.4)
XYZxyz(31.8148, 19.4029, 54.2832)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FC4 #5EC44F
analogous
#7B4FC4 #B54FC4 #C44F99
triadic
#B54FC4 #C4B54F #4FC4B5
tetradic
#B54FC4 #C47B4F #5EC44F #4F99C4
square
#B54FC4 #C47B4F #5EC44F #4F99C4
split-complementary
#B54FC4 #99C44F #4FC47B
monochromatic
#692672 #9236A0 #B54FC4 #C87DD3 #DCABE3

Accessibility & contrast

On white

4.30
#B54FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B54FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FC4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FC4#FFFFFF#000000##000000
##B54FC41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3872C8
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#B76082
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54fc4;
/* rgb */ color: rgb(181, 79, 196);
/* oklch */ color: oklch(60.3% 0.195 322.4);
Tailwind
colors: {
  custom: {
    50: '#ce86d6',
    500: '#b54fc4',
    950: '#000000',
  },
}
SCSS
$custom: #b54fc4;
$custom-light: #ce86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fc4",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 292.308,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.1947,
    "h": 322.4
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#B54FC4
secondary
#A5D09E
accent
#D94E60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B54FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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