#B54FD4#B54FD4

#B54FD4 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.210 H 317.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B54FD4
RGBrgb(181, 79, 212)
HSLhsl(286, 61%, 57%)
HSVhsv(286, 63%, 83%)
CMYKcmyk(14.6%, 62.7%, 0%, 16.9%)
CIE-LABlab(52.03, 60.78, -50.58)
CIE-LCHlch(52.03, 79.07, 320.23°)
OKLaboklab(61.26% 0.1546 -0.1416)
OKLCHoklch(61.26% 0.21 317.5)
XYZxyz(33.7340, 20.1705, 64.3909)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD4 #6ED44F
analogous
#734FD4 #B54FD4 #D44FB1
triadic
#B54FD4 #D4B54F #4FD4B5
tetradic
#B54FD4 #D4734F #6ED44F #4FB1D4
square
#B54FD4 #D4734F #6ED44F #4FB1D4
split-complementary
#B54FD4 #B1D44F #4FD473
monochromatic
#702187 #982DB9 #B54FD4 #CA80E0 #DEB1EC

Accessibility & contrast

On white

4.17
#B54FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54FD4#FFFFFF#000000##000000
##B54FD41.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2476D8
Deuteranopia (green-blind)
#537FD1
Tritanopia (blue-blind)
#B4668B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54fd4;
/* rgb */ color: rgb(181, 79, 212);
/* oklch */ color: oklch(61.3% 0.210 317.5);
Tailwind
colors: {
  custom: {
    50: '#ce87e2',
    500: '#b54fd4',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd4;
$custom-light: #ce87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd4",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 286.015,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.20962,
    "h": 317.5
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#B54FD4
secondary
#B1DAA4
accent
#E44469
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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