#B54CC5#B54CC5

#B54CC5 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 60.0% C 0.200 H 322.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B54CC5
RGBrgb(181, 76, 197)
HSLhsl(292, 51%, 54%)
HSVhsv(292, 61%, 77%)
CMYKcmyk(8.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(50.72, 59.24, -44.07)
CIE-LCHlch(50.72, 73.83, 323.35°)
OKLaboklab(60.05% 0.1579 -0.1226)
OKLCHoklch(60.05% 0.2 322.2)
XYZxyz(31.7175, 19.0255, 54.8141)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CC5 #5CC54C
analogous
#784CC5 #B54CC5 #C54C98
triadic
#B54CC5 #C5B54C #4CC5B5
tetradic
#B54CC5 #C5784C #5CC54C #4C98C5
square
#B54CC5 #C5784C #5CC54C #4C98C5
split-complementary
#B54CC5 #98C54C #4CC578
monochromatic
#682572 #9234A0 #B54CC5 #C87AD4 #DBA8E3

Accessibility & contrast

On white

4.37
#B54CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B54CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CC5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CC5#FFFFFF#000000##000000
##B54CC51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3271C9
Deuteranopia (green-blind)
#5B7DC2
Tritanopia (blue-blind)
#B75F82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54cc5;
/* rgb */ color: rgb(181, 76, 197);
/* oklch */ color: oklch(60.0% 0.200 322.2);
Tailwind
colors: {
  custom: {
    50: '#ce84d7',
    500: '#b54cc5',
    950: '#000000',
  },
}
SCSS
$custom: #b54cc5;
$custom-light: #ce84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cc5",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 292.066,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.19988,
    "h": 322.2
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#B54CC5
secondary
#A3D09C
accent
#DB4D60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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