#B54FDF#B54FDF

#B54FDF is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.220 H 314.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B54FDF
RGBrgb(181, 79, 223)
HSLhsl(283, 69%, 59%)
HSVhsv(283, 65%, 87%)
CMYKcmyk(18.8%, 64.6%, 0%, 12.5%)
CIE-LABlab(52.67, 62.97, -55.81)
CIE-LCHlch(52.67, 84.14, 318.45°)
OKLaboklab(61.93% 0.1543 -0.1569)
OKLCHoklch(61.93% 0.22 314.5)
XYZxyz(35.1691, 20.7446, 71.9492)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FDF #79DF4F
analogous
#6D4FDF #B54FDF #DF4FC1
triadic
#B54FDF #DFB54F #4FDFB5
tetradic
#B54FDF #DF6D4F #79DF4F #4FC1DF
square
#B54FDF #DF6D4F #79DF4F #4FC1DF
split-complementary
#B54FDF #C1DF4F #4FDF6D
monochromatic
#741C98 #9B25CC #B54FDF #CB83E8 #E1B7F2

Accessibility & contrast

On white

4.08
#B54FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B54FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FDF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FDF#FFFFFF#000000##000000
##B54FDF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0578E3
Deuteranopia (green-blind)
#4A80DC
Tritanopia (blue-blind)
#B16A90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b54fdf;
/* rgb */ color: rgb(181, 79, 223);
/* oklch */ color: oklch(61.9% 0.220 314.5);
Tailwind
colors: {
  custom: {
    50: '#cf87ea',
    500: '#b54fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b54fdf;
$custom-light: #cf87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fdf",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 282.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.22007,
    "h": 314.5
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#B54FDF
secondary
#B9E1A9
accent
#EC3C6F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B54FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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