#B54BCF#B54BCF

#B54BCF is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.210 H 319.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B54BCF
RGBrgb(181, 75, 207)
HSLhsl(288, 58%, 55%)
HSVhsv(288, 64%, 81%)
CMYKcmyk(12.6%, 63.8%, 0%, 18.8%)
CIE-LABlab(51.11, 61.57, -49.19)
CIE-LCHlch(51.11, 78.81, 321.37°)
OKLaboklab(60.51% 0.1592 -0.1375)
OKLCHoklch(60.51% 0.21 319.2)
XYZxyz(32.8332, 19.3624, 61.0272)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BCF #65CF4B
analogous
#734BCF #B54BCF #CF4BA7
triadic
#B54BCF #CFB54B #4BCFB5
tetradic
#B54BCF #CF734B #65CF4B #4BA7CF
square
#B54BCF #CF734B #65CF4B #4BA7CF
split-complementary
#B54BCF #A7CF4B #4BCF73
monochromatic
#6C227E #952EAE #B54BCF #C97BDC #DDACE9

Accessibility & contrast

On white

4.31
#B54BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B54BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BCF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BCF#FFFFFF#000000##000000
##B54BCF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#547DCC
Tritanopia (blue-blind)
#B56287
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54bcf;
/* rgb */ color: rgb(181, 75, 207);
/* oklch */ color: oklch(60.5% 0.210 319.2);
Tailwind
colors: {
  custom: {
    50: '#ce84de',
    500: '#b54bcf',
    950: '#000000',
  },
}
SCSS
$custom: #b54bcf;
$custom-light: #ce84de;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bcf",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 288.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.21039,
    "h": 319.2
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#B54BCF
secondary
#AAD69F
accent
#E14765
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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