#B54CCB#B54CCB

#B54CCB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.205 H 320.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B54CCB
RGBrgb(181, 76, 203)
HSLhsl(290, 55%, 55%)
HSVhsv(290, 63%, 80%)
CMYKcmyk(10.8%, 62.6%, 0%, 20.4%)
CIE-LABlab(51.04, 60.37, -47.01)
CIE-LCHlch(51.04, 76.51, 322.09°)
OKLaboklab(60.39% 0.158 -0.1311)
OKLCHoklch(60.39% 0.205 320.3)
XYZxyz(32.4187, 19.3060, 58.5071)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CCB #62CB4C
analogous
#754CCB #B54CCB #CB4CA2
triadic
#B54CCB #CBB54C #4CCBB5
tetradic
#B54CCB #CB754C #62CB4C #4CA2CB
square
#B54CCB #CB754C #62CB4C #4CA2CB
split-complementary
#B54CCB #A2CB4C #4CCB75
monochromatic
#6A2379 #9431A9 #B54CCB #C97BD9 #DCABE7

Accessibility & contrast

On white

4.32
#B54CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B54CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CCB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CCB#FFFFFF#000000##000000
##B54CCB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#B66185
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54ccb;
/* rgb */ color: rgb(181, 76, 203);
/* oklch */ color: oklch(60.4% 0.205 320.3);
Tailwind
colors: {
  custom: {
    50: '#ce85db',
    500: '#b54ccb',
    950: '#000000',
  },
}
SCSS
$custom: #b54ccb;
$custom-light: #ce85db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ccb",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 289.606,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.20535,
    "h": 320.3
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#B54CCB
secondary
#A8D49F
accent
#DE4963
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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