#B54DDB#B54DDB

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

Color values

HEX#B54DDB
RGBrgb(181, 77, 219)
HSLhsl(284, 66%, 58%)
HSVhsv(284, 65%, 86%)
CMYKcmyk(17.4%, 64.8%, 0%, 14.1%)
CIE-LABlab(52.12, 63.05, -54.43)
CIE-LCHlch(52.12, 83.29, 319.20°)
OKLaboklab(61.46% 0.1567 -0.1528)
OKLCHoklch(61.46% 0.219 315.7)
XYZxyz(34.4941, 20.2472, 69.0952)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DDB #73DB4D
analogous
#6E4DDB #B54DDB #DB4DBA
triadic
#B54DDB #DBB54D #4DDBB5
tetradic
#B54DDB #DB6E4D #73DB4D #4DBADB
square
#B54DDB #DB6E4D #73DB4D #4DBADB
split-complementary
#B54DDB #BADB4D #4DDB6E
monochromatic
#721D90 #9A27C3 #B54DDB #CA80E5 #DFB3F0

Accessibility & contrast

On white

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

On black

5.05
#B54DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DDB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DDB#FFFFFF#000000##000000
##B54DDB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#B2688E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54ddb;
/* rgb */ color: rgb(181, 77, 219);
/* oklch */ color: oklch(61.5% 0.219 315.7);
Tailwind
colors: {
  custom: {
    50: '#cf86e7',
    500: '#b54ddb',
    950: '#000000',
  },
}
SCSS
$custom: #b54ddb;
$custom-light: #cf86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ddb",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 283.944,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.2189,
    "h": 315.7
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#B54DDB
secondary
#B5DEA6
accent
#E93F6C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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