#B54CD3#B54CD3

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

Color values

HEX#B54CD3
RGBrgb(181, 76, 211)
HSLhsl(287, 61%, 56%)
HSVhsv(287, 64%, 83%)
CMYKcmyk(14.2%, 64%, 0%, 17.3%)
CIE-LABlab(51.49, 61.91, -50.87)
CIE-LCHlch(51.49, 80.12, 320.59°)
OKLaboklab(60.86% 0.1581 -0.1424)
OKLCHoklch(60.86% 0.213 318)
XYZxyz(33.3967, 19.6972, 63.6581)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD3 #6AD34C
analogous
#724CD3 #B54CD3 #D34CAE
triadic
#B54CD3 #D3B54C #4CD3B5
tetradic
#B54CD3 #D3724C #6AD34C #4CAED3
square
#B54CD3 #D3724C #6AD34C #4CAED3
split-complementary
#B54CD3 #AED34C #4CD372
monochromatic
#6E2084 #972DB5 #B54CD3 #C97DDF #DEAEEB

Accessibility & contrast

On white

4.25
#B54CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B54CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD3#FFFFFF#000000##000000
##B54CD31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E74D7
Deuteranopia (green-blind)
#527ED0
Tritanopia (blue-blind)
#B46489
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd3;
/* rgb */ color: rgb(181, 76, 211);
/* oklch */ color: oklch(60.9% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#cf85e1',
    500: '#b54cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd3;
$custom-light: #cf85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd3",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 286.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.21275,
    "h": 318
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#B54CD3
secondary
#AED9A2
accent
#E44468
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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