#B54BDC#B54BDC

#B54BDC is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.3% C 0.222 H 315.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B54BDC
RGBrgb(181, 75, 220)
HSLhsl(284, 67%, 58%)
HSVhsv(284, 66%, 86%)
CMYKcmyk(17.7%, 65.9%, 0%, 13.7%)
CIE-LABlab(51.86, 64.11, -55.40)
CIE-LCHlch(51.86, 84.72, 319.17°)
OKLaboklab(61.3% 0.1589 -0.1556)
OKLCHoklch(61.3% 0.222 315.6)
XYZxyz(34.4884, 20.0245, 69.7447)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BDC #72DC4B
analogous
#6C4BDC #B54BDC #DC4BBB
triadic
#B54BDC #DCB54B #4BDCB5
tetradic
#B54BDC #DC6C4B #72DC4B #4BBBDC
square
#B54BDC #DC6C4B #72DC4B #4BBBDC
split-complementary
#B54BDC #BBDC4B #4BDC6C
monochromatic
#711C91 #9926C4 #B54BDC #CA7EE6 #DFB1F0

Accessibility & contrast

On white

4.20
#B54BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B54BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BDC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BDC#FFFFFF#000000##000000
##B54BDC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#B2678D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54bdc;
/* rgb */ color: rgb(181, 75, 220);
/* oklch */ color: oklch(61.3% 0.222 315.6);
Tailwind
colors: {
  custom: {
    50: '#cf85e7',
    500: '#b54bdc',
    950: '#000000',
  },
}
SCSS
$custom: #b54bdc;
$custom-light: #cf85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bdc",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 283.862,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.22243,
    "h": 315.6
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#B54BDC
secondary
#B4DEA4
accent
#EA3D6C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B54BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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