#B54CDE#B54CDE

#B54CDE is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.5% C 0.223 H 315.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B54CDE
RGBrgb(181, 76, 222)
HSLhsl(283, 69%, 58%)
HSVhsv(283, 66%, 87%)
CMYKcmyk(18.5%, 65.8%, 0%, 12.9%)
CIE-LABlab(52.14, 64.08, -56.09)
CIE-LCHlch(52.14, 85.16, 318.80°)
OKLaboklab(61.53% 0.1577 -0.1577)
OKLCHoklch(61.53% 0.223 315)
XYZxyz(34.8232, 20.2678, 71.1708)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CDE #75DE4C
analogous
#6C4CDE #B54CDE #DE4CBE
triadic
#B54CDE #DEB54C #4CDEB5
tetradic
#B54CDE #DE6C4C #75DE4C #4CBEDE
square
#B54CDE #DE6C4C #75DE4C #4CBEDE
split-complementary
#B54CDE #BEDE4C #4CDE6C
monochromatic
#721B94 #9A25C8 #B54CDE #CA80E8 #E0B3F1

Accessibility & contrast

On white

4.16
#B54CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B54CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CDE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CDE#FFFFFF#000000##000000
##B54CDE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54cde;
/* rgb */ color: rgb(181, 76, 222);
/* oklch */ color: oklch(61.5% 0.223 315.0);
Tailwind
colors: {
  custom: {
    50: '#cf85e9',
    500: '#b54cde',
    950: '#000000',
  },
}
SCSS
$custom: #b54cde;
$custom-light: #cf85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cde",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 283.151,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.22301,
    "h": 315
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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