#B54DCC#B54DCC

#B54DCC is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.205 H 320.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B54DCC
RGBrgb(181, 77, 204)
HSLhsl(289, 55%, 55%)
HSVhsv(289, 62%, 80%)
CMYKcmyk(11.3%, 62.3%, 0%, 20%)
CIE-LABlab(51.26, 60.12, -47.24)
CIE-LCHlch(51.26, 76.45, 321.84°)
OKLaboklab(60.56% 0.1569 -0.1318)
OKLCHoklch(60.56% 0.205 320)
XYZxyz(32.6077, 19.4926, 59.1599)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DCC #64CC4D
analogous
#754DCC #B54DCC #CC4DA3
triadic
#B54DCC #CCB54D #4DCCB5
tetradic
#B54DCC #CC754D #64CC4D #4DA3CC
square
#B54DCC #CC754D #64CC4D #4DA3CC
split-complementary
#B54DCC #A3CC4D #4DCC75
monochromatic
#6B237B #9531AB #B54DCC #C97DDA #DDACE7

Accessibility & contrast

On white

4.29
#B54DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B54DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DCC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DCC#FFFFFF#000000##000000
##B54DCC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#B66286
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54dcc;
/* rgb */ color: rgb(181, 77, 204);
/* oklch */ color: oklch(60.6% 0.205 320.0);
Tailwind
colors: {
  custom: {
    50: '#ce85dc',
    500: '#b54dcc',
    950: '#000000',
  },
}
SCSS
$custom: #b54dcc;
$custom-light: #ce85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dcc",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 289.134,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.2049,
    "h": 320
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#B54DCC
secondary
#A9D5A0
accent
#DF4964
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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