#B54CD5#B54CD5

#B54CD5 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.215 H 317.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B54CD5
RGBrgb(181, 76, 213)
HSLhsl(286, 62%, 57%)
HSVhsv(286, 64%, 84%)
CMYKcmyk(15%, 64.3%, 0%, 16.5%)
CIE-LABlab(51.61, 62.30, -51.83)
CIE-LCHlch(51.61, 81.03, 320.24°)
OKLaboklab(60.98% 0.158 -0.1452)
OKLCHoklch(60.98% 0.215 317.4)
XYZxyz(33.6490, 19.7981, 64.9868)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD5 #6CD54C
analogous
#714CD5 #B54CD5 #D54CB1
triadic
#B54CD5 #D5B54C #4CD5B5
tetradic
#B54CD5 #D5714C #6CD54C #4CB1D5
square
#B54CD5 #D5714C #6CD54C #4CB1D5
split-complementary
#B54CD5 #B1D54C #4CD571
monochromatic
#6F2087 #982BB9 #B54CD5 #C97EE1 #DEAFEC

Accessibility & contrast

On white

4.23
#B54CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B54CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD5#FFFFFF#000000##000000
##B54CD51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D9
Deuteranopia (green-blind)
#507ED2
Tritanopia (blue-blind)
#B4658A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd5;
/* rgb */ color: rgb(181, 76, 213);
/* oklch */ color: oklch(61.0% 0.215 317.4);
Tailwind
colors: {
  custom: {
    50: '#cf85e2',
    500: '#b54cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd5;
$custom-light: #cf85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd5",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 285.985,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.2146,
    "h": 317.4
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#B54CD5
secondary
#AFDAA2
accent
#E54369
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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