#B54AC7#B54AC7

#B54AC7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.204 H 321.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B54AC7
RGBrgb(181, 74, 199)
HSLhsl(291, 53%, 54%)
HSVhsv(291, 63%, 78%)
CMYKcmyk(9%, 62.8%, 0%, 22%)
CIE-LABlab(50.51, 60.49, -45.56)
CIE-LCHlch(50.51, 75.72, 323.01°)
OKLaboklab(59.93% 0.1603 -0.1269)
OKLCHoklch(59.93% 0.204 321.6)
XYZxyz(31.8125, 18.8465, 55.9838)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AC7 #5CC74A
analogous
#764AC7 #B54AC7 #C74A9A
triadic
#B54AC7 #C7B54A #4AC7B5
tetradic
#B54AC7 #C7764A #5CC74A #4A9AC7
square
#B54AC7 #C7764A #5CC74A #4A9AC7
split-complementary
#B54AC7 #9AC74A #4AC776
monochromatic
#682473 #9232A2 #B54AC7 #C879D5 #DBA7E4

Accessibility & contrast

On white

4.40
#B54AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B54AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AC7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AC7#FFFFFF#000000##000000
##B54AC71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C70CB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#B75E82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54ac7;
/* rgb */ color: rgb(181, 74, 199);
/* oklch */ color: oklch(59.9% 0.204 321.6);
Tailwind
colors: {
  custom: {
    50: '#ce83d8',
    500: '#b54ac7',
    950: '#000000',
  },
}
SCSS
$custom: #b54ac7;
$custom-light: #ce83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ac7",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 291.36,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.20446,
    "h": 321.6
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#B54AC7
secondary
#A3D19C
accent
#DC4C60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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