#B54DD6#B54DD6

#B54DD6 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.214 H 317.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B54DD6
RGBrgb(181, 77, 214)
HSLhsl(286, 63%, 57%)
HSVhsv(286, 64%, 84%)
CMYKcmyk(15.4%, 64%, 0%, 16.1%)
CIE-LABlab(51.82, 62.06, -52.05)
CIE-LCHlch(51.82, 81.00, 320.01°)
OKLaboklab(61.15% 0.1569 -0.1459)
OKLCHoklch(61.15% 0.214 317.1)
XYZxyz(33.8458, 19.9879, 65.6805)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DD6 #6ED64D
analogous
#704DD6 #B54DD6 #D64DB3
triadic
#B54DD6 #D6B54D #4DD6B5
tetradic
#B54DD6 #D6704D #6ED64D #4DB3D6
square
#B54DD6 #D6704D #6ED64D #4DB3D6
split-complementary
#B54DD6 #B3D64D #4DD670
monochromatic
#702089 #982BBB #B54DD6 #CA7FE1 #DEB0ED

Accessibility & contrast

On white

4.20
#B54DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B54DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DD6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DD6#FFFFFF#000000##000000
##B54DD61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B75DA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#B4668B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54dd6;
/* rgb */ color: rgb(181, 77, 214);
/* oklch */ color: oklch(61.2% 0.214 317.1);
Tailwind
colors: {
  custom: {
    50: '#cf86e3',
    500: '#b54dd6',
    950: '#000000',
  },
}
SCSS
$custom: #b54dd6;
$custom-light: #cf86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dd6",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 285.547,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.2142,
    "h": 317.1
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#B54DD6
secondary
#B1DBA4
accent
#E6426A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B54DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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