#B54DCF#B54DCF

#B54DCF is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.208 H 319.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B54DCF
RGBrgb(181, 77, 207)
HSLhsl(288, 58%, 56%)
HSVhsv(288, 63%, 81%)
CMYKcmyk(12.6%, 62.8%, 0%, 18.8%)
CIE-LABlab(51.43, 60.69, -48.69)
CIE-LCHlch(51.43, 77.81, 321.26°)
OKLaboklab(60.74% 0.1569 -0.136)
OKLCHoklch(60.74% 0.208 319.1)
XYZxyz(32.9709, 19.6380, 61.0732)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DCF #67CF4D
analogous
#744DCF #B54DCF #CF4DA8
triadic
#B54DCF #CFB54D #4DCFB5
tetradic
#B54DCF #CF744D #67CF4D #4DA8CF
square
#B54DCF #CF744D #67CF4D #4DA8CF
split-complementary
#B54DCF #A8CF4D #4DCF74
monochromatic
#6D227F #962FAF #B54DCF #C97DDC #DDADE9

Accessibility & contrast

On white

4.26
#B54DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B54DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DCF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DCF#FFFFFF#000000##000000
##B54DCF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2774D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#B56387
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54dcf;
/* rgb */ color: rgb(181, 77, 207);
/* oklch */ color: oklch(60.7% 0.208 319.1);
Tailwind
colors: {
  custom: {
    50: '#ce85de',
    500: '#b54dcf',
    950: '#000000',
  },
}
SCSS
$custom: #b54dcf;
$custom-light: #ce85de;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dcf",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 288,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.20767,
    "h": 319.1
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#B54DCF
secondary
#ACD7A1
accent
#E14766
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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