#B54CDC#B54CDC

#B54CDC is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.221 H 315.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B54CDC
RGBrgb(181, 76, 220)
HSLhsl(284, 67%, 58%)
HSVhsv(284, 65%, 86%)
CMYKcmyk(17.7%, 65.5%, 0%, 13.7%)
CIE-LABlab(52.02, 63.68, -55.15)
CIE-LCHlch(52.02, 84.24, 319.11°)
OKLaboklab(61.41% 0.1578 -0.1549)
OKLCHoklch(61.41% 0.221 315.5)
XYZxyz(34.5567, 20.1612, 69.7674)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CDC #73DC4C
analogous
#6D4CDC #B54CDC #DC4CBB
triadic
#B54CDC #DCB54C #4CDCB5
tetradic
#B54CDC #DC6D4C #73DC4C #4CBBDC
square
#B54CDC #DC6D4C #73DC4C #4CBBDC
split-complementary
#B54CDC #BBDC4C #4CDC6D
monochromatic
#721C91 #9A26C4 #B54CDC #CA7FE6 #DFB2F0

Accessibility & contrast

On white

4.17
#B54CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B54CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CDC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CDC#FFFFFF#000000##000000
##B54CDC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#B2678E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54cdc;
/* rgb */ color: rgb(181, 76, 220);
/* oklch */ color: oklch(61.4% 0.221 315.5);
Tailwind
colors: {
  custom: {
    50: '#cf85e7',
    500: '#b54cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b54cdc;
$custom-light: #cf85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cdc",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 283.75,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61406,
    "c": 0.22114,
    "h": 315.5
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#B54CDC
secondary
#B5DFA5
accent
#EA3E6C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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