#B54CD6#B54CD6

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

Color values

HEX#B54CD6
RGBrgb(181, 76, 214)
HSLhsl(286, 63%, 57%)
HSVhsv(286, 64%, 84%)
CMYKcmyk(15.4%, 64.5%, 0%, 16.1%)
CIE-LABlab(51.67, 62.49, -52.30)
CIE-LCHlch(51.67, 81.49, 320.07°)
OKLaboklab(61.04% 0.158 -0.1466)
OKLCHoklch(61.04% 0.216 317.1)
XYZxyz(33.7763, 19.8490, 65.6573)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD6 #6DD64C
analogous
#704CD6 #B54CD6 #D64CB2
triadic
#B54CD6 #D6B54C #4CD6B5
tetradic
#B54CD6 #D6704C #6DD64C #4CB2D6
square
#B54CD6 #D6704C #6DD64C #4CB2D6
split-complementary
#B54CD6 #B2D64C #4CD670
monochromatic
#6F1F88 #982BBA #B54CD6 #CA7EE1 #DEB0ED

Accessibility & contrast

On white

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

On black

4.97
#B54CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD6#FFFFFF#000000##000000
##B54CD61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1775DA
Deuteranopia (green-blind)
#4F7ED3
Tritanopia (blue-blind)
#B4658B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd6;
/* rgb */ color: rgb(181, 76, 214);
/* oklch */ color: oklch(61.0% 0.216 317.1);
Tailwind
colors: {
  custom: {
    50: '#cf85e3',
    500: '#b54cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd6;
$custom-light: #cf85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd6",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 285.652,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.21553,
    "h": 317.1
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#B54CD6
secondary
#B0DBA3
accent
#E64269
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B54CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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