#B54CD7#B54CD7

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

Color values

HEX#B54CD7
RGBrgb(181, 76, 215)
HSLhsl(285, 63%, 57%)
HSVhsv(285, 65%, 84%)
CMYKcmyk(15.8%, 64.7%, 0%, 15.7%)
CIE-LABlab(51.72, 62.69, -52.78)
CIE-LCHlch(51.72, 81.95, 319.91°)
OKLaboklab(61.1% 0.158 -0.148)
OKLCHoklch(61.1% 0.216 316.9)
XYZxyz(33.9044, 19.9003, 66.3320)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD7 #6ED74C
analogous
#704CD7 #B54CD7 #D74CB3
triadic
#B54CD7 #D7B54C #4CD7B5
tetradic
#B54CD7 #D7704C #6ED74C #4CB3D7
square
#B54CD7 #D7704C #6ED74C #4CB3D7
split-complementary
#B54CD7 #B3D74C #4CD770
monochromatic
#701F8A #982ABC #B54CD7 #CA7EE2 #DEB0ED

Accessibility & contrast

On white

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

On black

4.98
#B54CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD7#FFFFFF#000000##000000
##B54CD71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1475DB
Deuteranopia (green-blind)
#4E7ED4
Tritanopia (blue-blind)
#B3658B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd7;
/* rgb */ color: rgb(181, 76, 215);
/* oklch */ color: oklch(61.1% 0.216 316.9);
Tailwind
colors: {
  custom: {
    50: '#cf85e4',
    500: '#b54cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd7;
$custom-light: #cf85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd7",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 285.324,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.21647,
    "h": 316.9
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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