#B54CD9#B54CD9

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

Color values

HEX#B54CD9
RGBrgb(181, 76, 217)
HSLhsl(285, 65%, 57%)
HSVhsv(285, 65%, 85%)
CMYKcmyk(16.6%, 65%, 0%, 14.9%)
CIE-LABlab(51.84, 63.08, -53.73)
CIE-LCHlch(51.84, 82.86, 319.58°)
OKLaboklab(61.22% 0.1579 -0.1508)
OKLCHoklch(61.22% 0.218 316.3)
XYZxyz(34.1630, 20.0037, 67.6937)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD9 #70D94C
analogous
#6F4CD9 #B54CD9 #D94CB6
triadic
#B54CD9 #D9B54C #4CD9B5
tetradic
#B54CD9 #D96F4C #70D94C #4CB6D9
square
#B54CD9 #D96F4C #70D94C #4CB6D9
split-complementary
#B54CD9 #B6D94C #4CD96F
monochromatic
#701E8D #9929BF #B54CD9 #CA7EE4 #DFB1EE

Accessibility & contrast

On white

4.20
#B54CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B54CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD9#FFFFFF#000000##000000
##B54CD91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E75DD
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#B3668C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54cd9;
/* rgb */ color: rgb(181, 76, 217);
/* oklch */ color: oklch(61.2% 0.218 316.3);
Tailwind
colors: {
  custom: {
    50: '#cf85e5',
    500: '#b54cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd9;
$custom-light: #cf85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd9",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 284.681,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.21834,
    "h": 316.3
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#B54CD9
secondary
#B2DDA4
accent
#E8406B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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