#B54BCB#B54BCB

#B54BCB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.207 H 320.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B54BCB
RGBrgb(181, 75, 203)
HSLhsl(290, 55%, 55%)
HSVhsv(290, 63%, 80%)
CMYKcmyk(10.8%, 63.1%, 0%, 20.4%)
CIE-LABlab(50.88, 60.80, -47.26)
CIE-LCHlch(50.88, 77.01, 322.15°)
OKLaboklab(60.27% 0.1592 -0.1318)
OKLCHoklch(60.27% 0.207 320.4)
XYZxyz(32.3503, 19.1692, 58.4843)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BCB #61CB4B
analogous
#754BCB #B54BCB #CB4BA1
triadic
#B54BCB #CBB54B #4BCBB5
tetradic
#B54BCB #CB754B #61CB4B #4BA1CB
square
#B54BCB #CB754B #61CB4B #4BA1CB
split-complementary
#B54BCB #A1CB4B #4BCB75
monochromatic
#6A2379 #9431A8 #B54BCB #C97AD9 #DCAAE6

Accessibility & contrast

On white

4.34
#B54BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B54BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BCB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BCB#FFFFFF#000000##000000
##B54BCB1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#B66084
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54bcb;
/* rgb */ color: rgb(181, 75, 203);
/* oklch */ color: oklch(60.3% 0.207 320.4);
Tailwind
colors: {
  custom: {
    50: '#ce84db',
    500: '#b54bcb',
    950: '#000000',
  },
}
SCSS
$custom: #b54bcb;
$custom-light: #ce84db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bcb",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 289.688,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.20673,
    "h": 320.4
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#B54BCB
secondary
#A7D49E
accent
#DF4963
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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