#B54DD3#B54DD3

#B54DD3 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.211 H 317.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B54DD3
RGBrgb(181, 77, 211)
HSLhsl(287, 60%, 56%)
HSVhsv(287, 64%, 83%)
CMYKcmyk(14.2%, 63.5%, 0%, 17.3%)
CIE-LABlab(51.65, 61.47, -50.62)
CIE-LCHlch(51.65, 79.63, 320.53°)
OKLaboklab(60.97% 0.1569 -0.1417)
OKLCHoklch(60.97% 0.211 317.9)
XYZxyz(33.4662, 19.8360, 63.6813)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DD3 #6BD34D
analogous
#724DD3 #B54DD3 #D34DAE
triadic
#B54DD3 #D3B54D #4DD3B5
tetradic
#B54DD3 #D3724D #6BD34D #4DAED3
square
#B54DD3 #D3724D #6BD34D #4DAED3
split-complementary
#B54DD3 #AED34D #4DD372
monochromatic
#6E2185 #972DB6 #B54DD3 #C97EDF #DEAFEB

Accessibility & contrast

On white

4.23
#B54DD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B54DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DD3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DD3#FFFFFF#000000##000000
##B54DD31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2174D7
Deuteranopia (green-blind)
#527ED0
Tritanopia (blue-blind)
#B46589
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54dd3;
/* rgb */ color: rgb(181, 77, 211);
/* oklch */ color: oklch(61.0% 0.211 317.9);
Tailwind
colors: {
  custom: {
    50: '#cf85e1',
    500: '#b54dd3',
    950: '#000000',
  },
}
SCSS
$custom: #b54dd3;
$custom-light: #cf85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dd3",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 286.567,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.2114,
    "h": 317.9
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#B54DD3
secondary
#AFD9A2
accent
#E44468
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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