#B54FCA#B54FCA

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

Color values

HEX#B54FCA
RGBrgb(181, 79, 202)
HSLhsl(290, 54%, 55%)
HSVhsv(290, 61%, 79%)
CMYKcmyk(10.4%, 60.9%, 0%, 20.8%)
CIE-LABlab(51.48, 58.84, -45.74)
CIE-LCHlch(51.48, 74.53, 322.14°)
OKLaboklab(60.68% 0.1544 -0.1275)
OKLCHoklch(60.68% 0.2 320.5)
XYZxyz(32.5114, 19.6815, 57.9521)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FCA #64CA4F
analogous
#774FCA #B54FCA #CA4FA2
triadic
#B54FCA #CAB54F #4FCAB5
tetradic
#B54FCA #CA774F #64CA4F #4FA2CA
square
#B54FCA #CA774F #64CA4F #4FA2CA
split-complementary
#B54FCA #A2CA4F #4FCA77
monochromatic
#6B257A #9533A9 #B54FCA #C97ED8 #DDADE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54FCA#FFFFFF#000000##000000
##B54FCA1.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)
#3273CE
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#B66385
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54fca;
/* rgb */ color: rgb(181, 79, 202);
/* oklch */ color: oklch(60.7% 0.200 320.5);
Tailwind
colors: {
  custom: {
    50: '#ce86db',
    500: '#b54fca',
    950: '#000000',
  },
}
SCSS
$custom: #b54fca;
$custom-light: #ce86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fca",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 289.756,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.20024,
    "h": 320.5
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#B54FCA
secondary
#A9D4A1
accent
#DD4B64
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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