#B54FCB#B54FCB

#B54FCB is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.7% C 0.201 H 320.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B54FCB
RGBrgb(181, 79, 203)
HSLhsl(289, 54%, 55%)
HSVhsv(289, 61%, 80%)
CMYKcmyk(10.8%, 61.1%, 0%, 20.4%)
CIE-LABlab(51.53, 59.03, -46.23)
CIE-LCHlch(51.53, 74.98, 321.93°)
OKLaboklab(60.74% 0.1545 -0.1289)
OKLCHoklch(60.74% 0.201 320.2)
XYZxyz(32.6302, 19.7290, 58.5776)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FCB #65CB4F
analogous
#774FCB #B54FCB #CB4FA3
triadic
#B54FCB #CBB54F #4FCBB5
tetradic
#B54FCB #CB774F #65CB4F #4FA3CB
square
#B54FCB #CB774F #65CB4F #4FA3CB
split-complementary
#B54FCB #A3CB4F #4FCB77
monochromatic
#6C247B #9532AA #B54FCB #C97ED9 #DDADE7

Accessibility & contrast

On white

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

On black

4.95
#B54FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FCB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FCB#FFFFFF#000000##000000
##B54FCB1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#B66386
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54fcb;
/* rgb */ color: rgb(181, 79, 203);
/* oklch */ color: oklch(60.7% 0.201 320.2);
Tailwind
colors: {
  custom: {
    50: '#ce86db',
    500: '#b54fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b54fcb;
$custom-light: #ce86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fcb",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 289.355,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.20117,
    "h": 320.2
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#B54FCB
secondary
#AAD5A1
accent
#DE4A64
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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