#B54DDE#B54DDE

#B54DDE is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.222 H 314.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B54DDE
RGBrgb(181, 77, 222)
HSLhsl(283, 69%, 59%)
HSVhsv(283, 65%, 87%)
CMYKcmyk(18.5%, 65.3%, 0%, 12.9%)
CIE-LABlab(52.29, 63.65, -55.84)
CIE-LCHlch(52.29, 84.67, 318.74°)
OKLaboklab(61.64% 0.1566 -0.157)
OKLCHoklch(61.64% 0.222 314.9)
XYZxyz(34.8926, 20.4066, 71.1939)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DDE #76DE4D
analogous
#6C4DDE #B54DDE #DE4DBF
triadic
#B54DDE #DEB54D #4DDEB5
tetradic
#B54DDE #DE6C4D #76DE4D #4DBFDE
square
#B54DDE #DE6C4D #76DE4D #4DBFDE
split-complementary
#B54DDE #BFDE4D #4DDE6C
monochromatic
#731C95 #9A25C9 #B54DDE #CA81E8 #E0B4F1

Accessibility & contrast

On white

4.13
#B54DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B54DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DDE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DDE#FFFFFF#000000##000000
##B54DDE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#497FDB
Tritanopia (blue-blind)
#B2698F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54dde;
/* rgb */ color: rgb(181, 77, 222);
/* oklch */ color: oklch(61.6% 0.222 314.9);
Tailwind
colors: {
  custom: {
    50: '#cf86e9',
    500: '#b54dde',
    950: '#000000',
  },
}
SCSS
$custom: #b54dde;
$custom-light: #cf86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dde",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 283.034,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.22173,
    "h": 314.9
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#B54DDE
secondary
#B7E0A7
accent
#EC3C6E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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