#B54FCF#B54FCF

#B54FCF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.0% C 0.205 H 319.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B54FCF
RGBrgb(181, 79, 207)
HSLhsl(288, 57%, 56%)
HSVhsv(288, 62%, 81%)
CMYKcmyk(12.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(51.75, 59.80, -48.17)
CIE-LCHlch(51.75, 76.79, 321.15°)
OKLaboklab(60.97% 0.1546 -0.1345)
OKLCHoklch(60.97% 0.205 319)
XYZxyz(33.1130, 19.9222, 61.1205)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FCF #69CF4F
analogous
#754FCF #B54FCF #CF4FA9
triadic
#B54FCF #CFB54F #4FCFB5
tetradic
#B54FCF #CF754F #69CF4F #4FA9CF
square
#B54FCF #CF754F #69CF4F #4FA9CF
split-complementary
#B54FCF #A9CF4F #4FCF75
monochromatic
#6E2381 #9730B1 #B54FCF #C97FDC #DDAFE9

Accessibility & contrast

On white

4.21
#B54FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B54FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FCF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FCF#FFFFFF#000000##000000
##B54FCF1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#B56488
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54fcf;
/* rgb */ color: rgb(181, 79, 207);
/* oklch */ color: oklch(61.0% 0.205 319.0);
Tailwind
colors: {
  custom: {
    50: '#ce86de',
    500: '#b54fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b54fcf;
$custom-light: #ce86de;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fcf",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 287.813,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.20491,
    "h": 319
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#B54FCF
secondary
#ADD7A2
accent
#E04766
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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