#B54CD2#B54CD2

#B54CD2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.212 H 318.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B54CD2
RGBrgb(181, 76, 210)
HSLhsl(287, 60%, 56%)
HSVhsv(287, 64%, 82%)
CMYKcmyk(13.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(51.44, 61.71, -50.39)
CIE-LCHlch(51.44, 79.67, 320.77°)
OKLaboklab(60.8% 0.1581 -0.141)
OKLCHoklch(60.8% 0.212 318.3)
XYZxyz(33.2718, 19.6472, 63.0000)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD2 #69D24C
analogous
#724CD2 #B54CD2 #D24CAC
triadic
#B54CD2 #D2B54C #4CD2B5
tetradic
#B54CD2 #D2724C #69D24C #4CACD2
square
#B54CD2 #D2724C #69D24C #4CACD2
split-complementary
#B54CD2 #ACD24C #4CD272
monochromatic
#6E2183 #972DB4 #B54CD2 #C97DDE #DDAEEB

Accessibility & contrast

On white

4.26
#B54CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B54CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD2#FFFFFF#000000##000000
##B54CD21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#B56488
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54cd2;
/* rgb */ color: rgb(181, 76, 210);
/* oklch */ color: oklch(60.8% 0.212 318.3);
Tailwind
colors: {
  custom: {
    50: '#cf85e0',
    500: '#b54cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd2;
$custom-light: #cf85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd2",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 287.015,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.21182,
    "h": 318.3
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#B54CD2
secondary
#ADD9A1
accent
#E34567
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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