#B54CC1#B54CC1

#B54CC1 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.8% C 0.196 H 323.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B54CC1
RGBrgb(181, 76, 193)
HSLhsl(294, 49%, 53%)
HSVhsv(294, 61%, 76%)
CMYKcmyk(6.2%, 60.6%, 0%, 24.3%)
CIE-LABlab(50.50, 58.49, -42.10)
CIE-LCHlch(50.50, 72.07, 324.26°)
OKLaboklab(59.82% 0.1577 -0.1168)
OKLCHoklch(59.82% 0.196 323.5)
XYZxyz(31.2652, 18.8446, 52.4323)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CC1 #58C14C
analogous
#7A4CC1 #B54CC1 #C14C93
triadic
#B54CC1 #C1B54C #4CC1B5
tetradic
#B54CC1 #C17A4C #58C14C #4C93C1
square
#B54CC1 #C17A4C #58C14C #4C93C1
split-complementary
#B54CC1 #93C14C #4CC17A
monochromatic
#66266D #90359A #B54CC1 #C879D1 #DBA7E0

Accessibility & contrast

On white

4.40
#B54CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B54CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CC1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CC1#FFFFFF#000000##000000
##B54CC11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3670C5
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#B85D80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54cc1;
/* rgb */ color: rgb(181, 76, 193);
/* oklch */ color: oklch(59.8% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#ce84d4',
    500: '#b54cc1',
    950: '#000000',
  },
}
SCSS
$custom: #b54cc1;
$custom-light: #ce84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cc1",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 293.846,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.19627,
    "h": 323.5
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#B54CC1
secondary
#A0CE9B
accent
#D8505E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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