#B54CD8#B54CD8

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

Color values

HEX#B54CD8
RGBrgb(181, 76, 216)
HSLhsl(285, 64%, 57%)
HSVhsv(285, 65%, 85%)
CMYKcmyk(16.2%, 64.8%, 0%, 15.3%)
CIE-LABlab(51.78, 62.89, -53.25)
CIE-LCHlch(51.78, 82.41, 319.74°)
OKLaboklab(61.16% 0.158 -0.1494)
OKLCHoklch(61.16% 0.217 316.6)
XYZxyz(34.0333, 19.9518, 67.0108)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD8 #6FD84C
analogous
#6F4CD8 #B54CD8 #D84CB5
triadic
#B54CD8 #D8B54C #4CD8B5
tetradic
#B54CD8 #D86F4C #6FD84C #4CB5D8
square
#B54CD8 #D86F4C #6FD84C #4CB5D8
split-complementary
#B54CD8 #B5D84C #4CD86F
monochromatic
#701E8B #9829BE #B54CD8 #CA7EE3 #DFB1EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54CD8#FFFFFF#000000##000000
##B54CD81.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)
#1175DC
Deuteranopia (green-blind)
#4E7FD5
Tritanopia (blue-blind)
#B3668C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd8;
/* rgb */ color: rgb(181, 76, 216);
/* oklch */ color: oklch(61.2% 0.217 316.6);
Tailwind
colors: {
  custom: {
    50: '#cf85e5',
    500: '#b54cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd8;
$custom-light: #cf85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd8",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 285,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.2174,
    "h": 316.6
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#B54CD8
secondary
#B2DCA4
accent
#E7416A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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