#B54BDD#B54BDD

#B54BDD is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.223 H 315.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B54BDD
RGBrgb(181, 75, 221)
HSLhsl(284, 68%, 58%)
HSVhsv(284, 66%, 87%)
CMYKcmyk(18.1%, 66.1%, 0%, 13.3%)
CIE-LABlab(51.92, 64.31, -55.87)
CIE-LCHlch(51.92, 85.18, 319.02°)
OKLaboklab(61.36% 0.1589 -0.157)
OKLCHoklch(61.36% 0.223 315.3)
XYZxyz(34.6212, 20.0776, 70.4442)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BDD #73DD4B
analogous
#6C4BDD #B54BDD #DD4BBC
triadic
#B54BDD #DDB54B #4BDDB5
tetradic
#B54BDD #DD6C4B #73DD4B #4BBCDD
square
#B54BDD #DD6C4B #73DD4B #4BBCDD
split-complementary
#B54BDD #BCDD4B #4BDD6C
monochromatic
#721C92 #9A25C5 #B54BDD #CA7EE7 #DFB2F0

Accessibility & contrast

On white

4.19
#B54BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B54BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BDD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BDD#FFFFFF#000000##000000
##B54BDD1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#B2678E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54bdd;
/* rgb */ color: rgb(181, 75, 221);
/* oklch */ color: oklch(61.4% 0.223 315.3);
Tailwind
colors: {
  custom: {
    50: '#cf85e8',
    500: '#b54bdd',
    950: '#000000',
  },
}
SCSS
$custom: #b54bdd;
$custom-light: #cf85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bdd",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 283.562,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.22336,
    "h": 315.3
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#B54BDD
secondary
#B5DFA5
accent
#EB3D6C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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