#B54FDB#B54FDB

#B54FDB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.216 H 315.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B54FDB
RGBrgb(181, 79, 219)
HSLhsl(284, 66%, 58%)
HSVhsv(284, 64%, 86%)
CMYKcmyk(17.4%, 63.9%, 0%, 14.1%)
CIE-LABlab(52.43, 62.17, -53.92)
CIE-LCHlch(52.43, 82.29, 319.06°)
OKLaboklab(61.69% 0.1545 -0.1513)
OKLCHoklch(61.69% 0.216 315.6)
XYZxyz(34.6362, 20.5314, 69.1425)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FDB #75DB4F
analogous
#6F4FDB #B54FDB #DB4FBB
triadic
#B54FDB #DBB54F #4FDBB5
tetradic
#B54FDB #DB6F4F #75DB4F #4FBBDB
square
#B54FDB #DB6F4F #75DB4F #4FBBDB
split-complementary
#B54FDB #BBDB4F #4FDB6F
monochromatic
#721E92 #9A28C5 #B54FDB #CA82E5 #E0B5F0

Accessibility & contrast

On white

4.11
#B54FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B54FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FDB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FDB#FFFFFF#000000##000000
##B54FDB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1577DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#B2698E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b54fdb;
/* rgb */ color: rgb(181, 79, 219);
/* oklch */ color: oklch(61.7% 0.216 315.6);
Tailwind
colors: {
  custom: {
    50: '#cf87e7',
    500: '#b54fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b54fdb;
$custom-light: #cf87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fdb",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 283.714,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.21625,
    "h": 315.6
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#B54FDB
secondary
#B6DFA7
accent
#E93F6D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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