#B54CD4#B54CD4

#B54CD4 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.214 H 317.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B54CD4
RGBrgb(181, 76, 212)
HSLhsl(286, 61%, 56%)
HSVhsv(286, 64%, 83%)
CMYKcmyk(14.6%, 64.2%, 0%, 16.9%)
CIE-LABlab(51.55, 62.10, -51.35)
CIE-LCHlch(51.55, 80.58, 320.41°)
OKLaboklab(60.92% 0.158 -0.1438)
OKLCHoklch(60.92% 0.214 317.7)
XYZxyz(33.5225, 19.7475, 64.3204)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD4 #6BD44C
analogous
#714CD4 #B54CD4 #D44CAF
triadic
#B54CD4 #D4B54C #4CD4B5
tetradic
#B54CD4 #D4714C #6BD44C #4CAFD4
square
#B54CD4 #D4714C #6BD44C #4CAFD4
split-complementary
#B54CD4 #AFD44C #4CD471
monochromatic
#6E2086 #972CB7 #B54CD4 #C97DE0 #DEAFEC

Accessibility & contrast

On white

4.24
#B54CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B54CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD4#FFFFFF#000000##000000
##B54CD41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C74D8
Deuteranopia (green-blind)
#517ED1
Tritanopia (blue-blind)
#B4648A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd4;
/* rgb */ color: rgb(181, 76, 212);
/* oklch */ color: oklch(60.9% 0.214 317.7);
Tailwind
colors: {
  custom: {
    50: '#cf85e2',
    500: '#b54cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd4;
$custom-light: #cf85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd4",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 286.324,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.21367,
    "h": 317.7
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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