#B54DD7#B54DD7

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

Color values

HEX#B54DD7
RGBrgb(181, 77, 215)
HSLhsl(285, 63%, 57%)
HSVhsv(285, 64%, 84%)
CMYKcmyk(15.8%, 64.2%, 0%, 15.7%)
CIE-LABlab(51.88, 62.25, -52.53)
CIE-LCHlch(51.88, 81.45, 319.84°)
OKLaboklab(61.21% 0.1569 -0.1473)
OKLCHoklch(61.21% 0.215 316.8)
XYZxyz(33.9739, 20.0391, 66.3551)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DD7 #6FD74D
analogous
#704DD7 #B54DD7 #D74DB4
triadic
#B54DD7 #D7B54D #4DD7B5
tetradic
#B54DD7 #D7704D #6FD74D #4DB4D7
square
#B54DD7 #D7704D #6FD74D #4DB4D7
split-complementary
#B54DD7 #B4D74D #4DD770
monochromatic
#701F8A #982ABC #B54DD7 #CA7FE2 #DFB1ED

Accessibility & contrast

On white

4.19
#B54DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B54DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DD7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DD7#FFFFFF#000000##000000
##B54DD71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1875DB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#B3668B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54dd7;
/* rgb */ color: rgb(181, 77, 215);
/* oklch */ color: oklch(61.2% 0.215 316.8);
Tailwind
colors: {
  custom: {
    50: '#cf86e4',
    500: '#b54dd7',
    950: '#000000',
  },
}
SCSS
$custom: #b54dd7;
$custom-light: #cf86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dd7",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 285.217,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.21515,
    "h": 316.8
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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