#B54CDD#B54CDD

#B54CDD is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.222 H 315.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B54CDD
RGBrgb(181, 76, 221)
HSLhsl(283, 68%, 58%)
HSVhsv(283, 66%, 87%)
CMYKcmyk(18.1%, 65.6%, 0%, 13.3%)
CIE-LABlab(52.08, 63.88, -55.62)
CIE-LCHlch(52.08, 84.70, 318.95°)
OKLaboklab(61.47% 0.1578 -0.1563)
OKLCHoklch(61.47% 0.222 315.3)
XYZxyz(34.6896, 20.2143, 70.4670)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CDD #74DD4C
analogous
#6C4CDD #B54CDD #DD4CBD
triadic
#B54CDD #DDB54C #4CDDB5
tetradic
#B54CDD #DD6C4C #74DD4C #4CBDDD
square
#B54CDD #DD6C4C #74DD4C #4CBDDD
split-complementary
#B54CDD #BDDD4C #4CDD6C
monochromatic
#721C93 #9A26C6 #B54CDD #CA7FE7 #E0B3F1

Accessibility & contrast

On white

4.16
#B54CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B54CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CDD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CDD#FFFFFF#000000##000000
##B54CDD1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#B2688E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54cdd;
/* rgb */ color: rgb(181, 76, 221);
/* oklch */ color: oklch(61.5% 0.222 315.3);
Tailwind
colors: {
  custom: {
    50: '#cf85e8',
    500: '#b54cdd',
    950: '#000000',
  },
}
SCSS
$custom: #b54cdd;
$custom-light: #cf85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cdd",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 283.448,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.22208,
    "h": 315.3
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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