#B54DC7#B54DC7

#B54DC7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.200 H 321.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B54DC7
RGBrgb(181, 77, 199)
HSLhsl(291, 52%, 54%)
HSVhsv(291, 61%, 78%)
CMYKcmyk(9%, 61.3%, 0%, 22%)
CIE-LABlab(50.99, 59.17, -44.80)
CIE-LCHlch(50.99, 74.21, 322.87°)
OKLaboklab(60.28% 0.1568 -0.1247)
OKLCHoklch(60.28% 0.2 321.5)
XYZxyz(32.0176, 19.2566, 56.0522)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DC7 #5FC74D
analogous
#784DC7 #B54DC7 #C74D9C
triadic
#B54DC7 #C7B54D #4DC7B5
tetradic
#B54DC7 #C7784D #5FC74D #4D9CC7
square
#B54DC7 #C7784D #5FC74D #4D9CC7
split-complementary
#B54DC7 #9CC74D #4DC778
monochromatic
#692575 #9333A3 #B54DC7 #C87CD6 #DCAAE4

Accessibility & contrast

On white

4.33
#B54DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B54DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DC7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DC7#FFFFFF#000000##000000
##B54DC71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3272CB
Deuteranopia (green-blind)
#5A7DC4
Tritanopia (blue-blind)
#B76083
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54dc7;
/* rgb */ color: rgb(181, 77, 199);
/* oklch */ color: oklch(60.3% 0.200 321.5);
Tailwind
colors: {
  custom: {
    50: '#ce85d8',
    500: '#b54dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b54dc7;
$custom-light: #ce85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dc7",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 291.148,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.2003,
    "h": 321.5
  },
  "luminance": 0.19255
}

Semantic roles & 50–950 ramp

primary
#B54DC7
secondary
#A6D29E
accent
#DC4C61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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