#B54BD4#B54BD4

#B54BD4 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.215 H 317.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B54BD4
RGBrgb(181, 75, 212)
HSLhsl(286, 61%, 56%)
HSVhsv(286, 65%, 83%)
CMYKcmyk(14.6%, 64.6%, 0%, 16.9%)
CIE-LABlab(51.39, 62.53, -51.60)
CIE-LCHlch(51.39, 81.07, 320.47°)
OKLaboklab(60.81% 0.1592 -0.1445)
OKLCHoklch(60.81% 0.215 317.8)
XYZxyz(33.4541, 19.6108, 64.2976)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BD4 #6AD44B
analogous
#714BD4 #B54BD4 #D44BAF
triadic
#B54BD4 #D4B54B #4BD4B5
tetradic
#B54BD4 #D4714B #6AD44B #4BAFD4
square
#B54BD4 #D4714B #6AD44B #4BAFD4
split-complementary
#B54BD4 #AFD44B #4BD471
monochromatic
#6E2085 #972CB6 #B54BD4 #C97CE0 #DEAEEC

Accessibility & contrast

On white

4.27
#B54BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B54BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BD4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BD4#FFFFFF#000000##000000
##B54BD41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1974D8
Deuteranopia (green-blind)
#507ED1
Tritanopia (blue-blind)
#B46489
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54bd4;
/* rgb */ color: rgb(181, 75, 212);
/* oklch */ color: oklch(60.8% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#cf84e2',
    500: '#b54bd4',
    950: '#000000',
  },
}
SCSS
$custom: #b54bd4;
$custom-light: #cf84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bd4",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 286.423,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.215,
    "h": 317.8
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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