#B54BDB#B54BDB

#B54BDB is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.222 H 315.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B54BDB
RGBrgb(181, 75, 219)
HSLhsl(284, 67%, 58%)
HSVhsv(284, 66%, 86%)
CMYKcmyk(17.4%, 65.8%, 0%, 14.1%)
CIE-LABlab(51.81, 63.91, -54.92)
CIE-LCHlch(51.81, 84.27, 319.32°)
OKLaboklab(61.23% 0.159 -0.1543)
OKLCHoklch(61.23% 0.222 315.9)
XYZxyz(34.3563, 19.9716, 69.0493)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BDB #71DB4B
analogous
#6D4BDB #B54BDB #DB4BB9
triadic
#B54BDB #DBB54B #4BDBB5
tetradic
#B54BDB #DB6D4B #71DB4B #4BB9DB
square
#B54BDB #DB6D4B #71DB4B #4BB9DB
split-complementary
#B54BDB #B9DB4B #4BDB6D
monochromatic
#711D8F #9927C2 #B54BDB #CA7EE5 #DFB1EF

Accessibility & contrast

On white

4.21
#B54BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B54BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BDB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BDB#FFFFFF#000000##000000
##B54BDB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#4A7ED8
Tritanopia (blue-blind)
#B3668D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54bdb;
/* rgb */ color: rgb(181, 75, 219);
/* oklch */ color: oklch(61.2% 0.222 315.9);
Tailwind
colors: {
  custom: {
    50: '#cf85e7',
    500: '#b54bdb',
    950: '#000000',
  },
}
SCSS
$custom: #b54bdb;
$custom-light: #cf85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bdb",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 284.167,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.2215,
    "h": 315.9
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#B54BDB
secondary
#B3DEA4
accent
#EA3E6B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B54BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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