#B54CC2#B54CC2

#B54CC2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.197 H 323.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B54CC2
RGBrgb(181, 76, 194)
HSLhsl(293, 49%, 53%)
HSVhsv(293, 61%, 76%)
CMYKcmyk(6.7%, 60.8%, 0%, 23.9%)
CIE-LABlab(50.56, 58.68, -42.59)
CIE-LCHlch(50.56, 72.51, 324.02°)
OKLaboklab(59.88% 0.1578 -0.1183)
OKLCHoklch(59.88% 0.197 323.1)
XYZxyz(31.3772, 18.8894, 53.0218)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CC2 #59C24C
analogous
#7A4CC2 #B54CC2 #C24C94
triadic
#B54CC2 #C2B54C #4CC2B5
tetradic
#B54CC2 #C27A4C #59C24C #4C94C2
square
#B54CC2 #C27A4C #59C24C #4C94C2
split-complementary
#B54CC2 #94C24C #4CC27A
monochromatic
#66266E #90359C #B54CC2 #C87AD2 #DBA7E1

Accessibility & contrast

On white

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

On black

4.78
#B54CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CC2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CC2#FFFFFF#000000##000000
##B54CC21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#B85D80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54cc2;
/* rgb */ color: rgb(181, 76, 194);
/* oklch */ color: oklch(59.9% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#ce84d5',
    500: '#b54cc2',
    950: '#000000',
  },
}
SCSS
$custom: #b54cc2;
$custom-light: #ce84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cc2",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 293.39,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.19717,
    "h": 323.1
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#B54CC2
secondary
#A1CE9B
accent
#D94F5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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