#B54BDE#B54BDE

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

Color values

HEX#B54BDE
RGBrgb(181, 75, 222)
HSLhsl(283, 69%, 58%)
HSVhsv(283, 66%, 87%)
CMYKcmyk(18.5%, 66.2%, 0%, 12.9%)
CIE-LABlab(51.98, 64.50, -56.34)
CIE-LCHlch(51.98, 85.64, 318.87°)
OKLaboklab(61.42% 0.1588 -0.1584)
OKLCHoklch(61.42% 0.224 315.1)
XYZxyz(34.7548, 20.1310, 71.1480)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BDE #74DE4B
analogous
#6B4BDE #B54BDE #DE4BBE
triadic
#B54BDE #DEB54B #4BDEB5
tetradic
#B54BDE #DE6B4B #74DE4B #4BBEDE
square
#B54BDE #DE6B4B #74DE4B #4BBEDE
split-complementary
#B54BDE #BEDE4B #4BDE6B
monochromatic
#721B94 #9A25C7 #B54BDE #CA7FE7 #E0B2F1

Accessibility & contrast

On white

4.18
#B54BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B54BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BDE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BDE#FFFFFF#000000##000000
##B54BDE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#B2688F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54bde;
/* rgb */ color: rgb(181, 75, 222);
/* oklch */ color: oklch(61.4% 0.224 315.1);
Tailwind
colors: {
  custom: {
    50: '#cf85e9',
    500: '#b54bde',
    950: '#000000',
  },
}
SCSS
$custom: #b54bde;
$custom-light: #cf85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bde",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 283.265,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6142,
    "c": 0.22429,
    "h": 315.1
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#B54BDE
secondary
#B5E0A5
accent
#EC3C6D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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