#B54BD9#B54BD9

#B54BD9 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.220 H 316.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B54BD9
RGBrgb(181, 75, 217)
HSLhsl(285, 65%, 57%)
HSVhsv(285, 65%, 85%)
CMYKcmyk(16.6%, 65.4%, 0%, 14.9%)
CIE-LABlab(51.69, 63.51, -53.98)
CIE-LCHlch(51.69, 83.35, 319.64°)
OKLaboklab(61.11% 0.159 -0.1515)
OKLCHoklch(61.11% 0.22 316.4)
XYZxyz(34.0946, 19.8670, 67.6709)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BD9 #6FD94B
analogous
#6E4BD9 #B54BD9 #D94BB6
triadic
#B54BD9 #D9B54B #4BD9B5
tetradic
#B54BD9 #D96E4B #6FD94B #4BB6D9
square
#B54BD9 #D96E4B #6FD94B #4BB6D9
split-complementary
#B54BD9 #B6D94B #4BD96E
monochromatic
#701E8C #9828BF #B54BD9 #CA7EE4 #DFB0EE

Accessibility & contrast

On white

4.22
#B54BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B54BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BD9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BD9#FFFFFF#000000##000000
##B54BD91.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0775DD
Deuteranopia (green-blind)
#4C7ED6
Tritanopia (blue-blind)
#B3668C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54bd9;
/* rgb */ color: rgb(181, 75, 217);
/* oklch */ color: oklch(61.1% 0.220 316.4);
Tailwind
colors: {
  custom: {
    50: '#cf85e5',
    500: '#b54bd9',
    950: '#000000',
  },
}
SCSS
$custom: #b54bd9;
$custom-light: #cf85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bd9",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 284.789,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.21964,
    "h": 316.4
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#B54BD9
secondary
#B2DDA3
accent
#E8406A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B54BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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