#B54BD6#B54BD6

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

Color values

HEX#B54BD6
RGBrgb(181, 75, 214)
HSLhsl(286, 63%, 57%)
HSVhsv(286, 65%, 84%)
CMYKcmyk(15.4%, 65%, 0%, 16.1%)
CIE-LABlab(51.51, 62.92, -52.55)
CIE-LCHlch(51.51, 81.98, 320.13°)
OKLaboklab(60.93% 0.1591 -0.1473)
OKLCHoklch(60.93% 0.217 317.2)
XYZxyz(33.7080, 19.7123, 65.6346)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BD6 #6CD64B
analogous
#704BD6 #B54BD6 #D64BB2
triadic
#B54BD6 #D6B54B #4BD6B5
tetradic
#B54BD6 #D6704B #6CD64B #4BB2D6
square
#B54BD6 #D6704B #6CD64B #4BB2D6
split-complementary
#B54BD6 #B2D64B #4BD670
monochromatic
#6F1F88 #982ABA #B54BD6 #C97DE1 #DEAFED

Accessibility & contrast

On white

4.25
#B54BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B54BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BD6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BD6#FFFFFF#000000##000000
##B54BD61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1374DA
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#B4648A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54bd6;
/* rgb */ color: rgb(181, 75, 214);
/* oklch */ color: oklch(60.9% 0.217 317.2);
Tailwind
colors: {
  custom: {
    50: '#cf84e3',
    500: '#b54bd6',
    950: '#000000',
  },
}
SCSS
$custom: #b54bd6;
$custom-light: #cf84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bd6",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 285.755,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.21685,
    "h": 317.2
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#B54BD6
secondary
#AFDBA2
accent
#E64269
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B54BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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