#B54FC2#B54FC2

#B54FC2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.193 H 323.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B54FC2
RGBrgb(181, 79, 194)
HSLhsl(293, 49%, 54%)
HSVhsv(293, 59%, 76%)
CMYKcmyk(6.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(51.05, 57.33, -41.81)
CIE-LCHlch(51.05, 70.96, 323.89°)
OKLaboklab(60.24% 0.1541 -0.116)
OKLCHoklch(60.24% 0.193 323)
XYZxyz(31.5887, 19.3124, 53.0923)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FC2 #5CC24F
analogous
#7B4FC2 #B54FC2 #C24F95
triadic
#B54FC2 #C2B54F #4FC2B5
tetradic
#B54FC2 #C27B4F #5CC24F #4F95C2
square
#B54FC2 #C27B4F #5CC24F #4F95C2
split-complementary
#B54FC2 #95C24F #4FC27B
monochromatic
#682770 #92379D #B54FC2 #C87CD2 #DBAAE2

Accessibility & contrast

On white

4.32
#B54FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B54FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FC2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FC2#FFFFFF#000000##000000
##B54FC21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#B86081
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54fc2;
/* rgb */ color: rgb(181, 79, 194);
/* oklch */ color: oklch(60.2% 0.193 323.0);
Tailwind
colors: {
  custom: {
    50: '#ce86d5',
    500: '#b54fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b54fc2;
$custom-light: #ce86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fc2",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 293.217,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.19286,
    "h": 323
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#B54FC2
secondary
#A3CF9E
accent
#D8505F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B54FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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