#B54DDC#B54DDC

#B54DDC is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.5% C 0.220 H 315.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B54DDC
RGBrgb(181, 77, 220)
HSLhsl(284, 67%, 58%)
HSVhsv(284, 65%, 86%)
CMYKcmyk(17.7%, 65%, 0%, 13.7%)
CIE-LABlab(52.17, 63.25, -54.90)
CIE-LCHlch(52.17, 83.75, 319.04°)
OKLaboklab(61.52% 0.1567 -0.1542)
OKLCHoklch(61.52% 0.22 315.5)
XYZxyz(34.6262, 20.3000, 69.7906)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DDC #74DC4D
analogous
#6D4DDC #B54DDC #DC4DBC
triadic
#B54DDC #DCB54D #4DDCB5
tetradic
#B54DDC #DC6D4D #74DC4D #4DBCDC
square
#B54DDC #DC6D4D #74DC4D #4DBCDC
split-complementary
#B54DDC #BCDC4D #4DDC6D
monochromatic
#721D92 #9A27C5 #B54DDC #CA80E6 #E0B3F0

Accessibility & contrast

On white

4.15
#B54DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B54DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DDC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DDC#FFFFFF#000000##000000
##B54DDC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0676E0
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#B2688E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54ddc;
/* rgb */ color: rgb(181, 77, 220);
/* oklch */ color: oklch(61.5% 0.220 315.5);
Tailwind
colors: {
  custom: {
    50: '#cf86e7',
    500: '#b54ddc',
    950: '#000000',
  },
}
SCSS
$custom: #b54ddc;
$custom-light: #cf86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ddc",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 283.636,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.21984,
    "h": 315.5
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#B54DDC
secondary
#B5DFA6
accent
#EA3E6D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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