#B54DD2#B54DD2

#B54DD2 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.210 H 318.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B54DD2
RGBrgb(181, 77, 210)
HSLhsl(287, 60%, 56%)
HSVhsv(287, 63%, 82%)
CMYKcmyk(13.8%, 63.3%, 0%, 17.6%)
CIE-LABlab(51.59, 61.27, -50.14)
CIE-LCHlch(51.59, 79.17, 320.71°)
OKLaboklab(60.91% 0.1569 -0.1403)
OKLCHoklch(60.91% 0.21 318.2)
XYZxyz(33.3412, 19.7861, 63.0231)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DD2 #6AD24D
analogous
#734DD2 #B54DD2 #D24DAD
triadic
#B54DD2 #D2B54D #4DD2B5
tetradic
#B54DD2 #D2734D #6AD24D #4DADD2
square
#B54DD2 #D2734D #6AD24D #4DADD2
split-complementary
#B54DD2 #ADD24D #4DD273
monochromatic
#6E2183 #972EB4 #B54DD2 #C97EDE #DEAFEB

Accessibility & contrast

On white

4.24
#B54DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B54DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DD2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DD2#FFFFFF#000000##000000
##B54DD21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#537ECF
Tritanopia (blue-blind)
#B46489
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54dd2;
/* rgb */ color: rgb(181, 77, 210);
/* oklch */ color: oklch(60.9% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#ce85e0',
    500: '#b54dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b54dd2;
$custom-light: #ce85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dd2",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 286.917,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.21046,
    "h": 318.2
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#B54DD2
secondary
#AED9A2
accent
#E34567
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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