#B54BD5#B54BD5

#B54BD5 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.216 H 317.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B54BD5
RGBrgb(181, 75, 213)
HSLhsl(286, 62%, 56%)
HSVhsv(286, 65%, 84%)
CMYKcmyk(15%, 64.8%, 0%, 16.5%)
CIE-LABlab(51.45, 62.73, -52.07)
CIE-LCHlch(51.45, 81.53, 320.30°)
OKLaboklab(60.87% 0.1592 -0.1459)
OKLCHoklch(60.87% 0.216 317.5)
XYZxyz(33.5807, 19.6614, 64.9640)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BD5 #6BD54B
analogous
#704BD5 #B54BD5 #D54BB0
triadic
#B54BD5 #D5B54B #4BD5B5
tetradic
#B54BD5 #D5704B #6BD54B #4BB0D5
square
#B54BD5 #D5704B #6BD54B #4BB0D5
split-complementary
#B54BD5 #B0D54B #4BD570
monochromatic
#6E1F86 #972BB8 #B54BD5 #C97DE1 #DEAEEC

Accessibility & contrast

On white

4.26
#B54BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B54BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BD5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BD5#FFFFFF#000000##000000
##B54BD51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#B4648A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54bd5;
/* rgb */ color: rgb(181, 75, 213);
/* oklch */ color: oklch(60.9% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#cf84e2',
    500: '#b54bd5',
    950: '#000000',
  },
}
SCSS
$custom: #b54bd5;
$custom-light: #cf84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bd5",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 286.087,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.21592,
    "h": 317.5
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#B54BD5
secondary
#AFDAA2
accent
#E54368
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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