#B54FD5#B54FD5

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

Color values

HEX#B54FD5
RGBrgb(181, 79, 213)
HSLhsl(286, 61%, 57%)
HSVhsv(286, 63%, 84%)
CMYKcmyk(15%, 62.9%, 0%, 16.5%)
CIE-LABlab(52.09, 60.97, -51.06)
CIE-LCHlch(52.09, 79.53, 320.06°)
OKLaboklab(61.32% 0.1546 -0.143)
OKLCHoklch(61.32% 0.211 317.2)
XYZxyz(33.8605, 20.2211, 65.0573)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FD5 #6FD54F
analogous
#724FD5 #B54FD5 #D54FB2
triadic
#B54FD5 #D5B54F #4FD5B5
tetradic
#B54FD5 #D5724F #6FD54F #4FB2D5
square
#B54FD5 #D5724F #6FD54F #4FB2D5
split-complementary
#B54FD5 #B2D54F #4FD572
monochromatic
#702189 #982CBA #B54FD5 #CA80E1 #DFB2ED

Accessibility & contrast

On white

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

On black

5.04
#B54FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FD5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FD5#FFFFFF#000000##000000
##B54FD51.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2276D9
Deuteranopia (green-blind)
#527FD2
Tritanopia (blue-blind)
#B4678B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b54fd5;
/* rgb */ color: rgb(181, 79, 213);
/* oklch */ color: oklch(61.3% 0.211 317.2);
Tailwind
colors: {
  custom: {
    50: '#ce87e2',
    500: '#b54fd5',
    950: '#000000',
  },
}
SCSS
$custom: #b54fd5;
$custom-light: #ce87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fd5",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 285.672,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.21056,
    "h": 317.2
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#B54FD5
secondary
#B2DBA5
accent
#E5436A
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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