#B54FA2#B54FA2

#B54FA2 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.6% C 0.165 H 335.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B54FA2
RGBrgb(181, 79, 162)
HSLhsl(311, 41%, 51%)
HSVhsv(311, 56%, 71%)
CMYKcmyk(0%, 56.4%, 10.5%, 29%)
CIE-LABlab(49.53, 51.72, -25.52)
CIE-LCHlch(49.53, 57.67, 333.73°)
OKLaboklab(58.63% 0.1501 -0.0692)
OKLCHoklch(58.63% 0.165 335.2)
XYZxyz(28.3738, 18.0264, 36.1604)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FA2 #4FB562
analogous
#954FB5 #B54FA2 #B54F6F
triadic
#B54FA2 #A2B54F #4FA2B5
tetradic
#B54FA2 #B5954F #4FB562 #4F6FB5
square
#B54FA2 #B5954F #4FB562 #4F6FB5
split-complementary
#B54FA2 #6FB54F #4FB595
monochromatic
#612956 #8C3B7D #B54FA2 #C77AB9 #D9A5D0

Accessibility & contrast

On white

4.56
#B54FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B54FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FA2#FFFFFF#000000##000000
##B54FA21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#6E7B9F
Tritanopia (blue-blind)
#BD5571
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54fa2;
/* rgb */ color: rgb(181, 79, 162);
/* oklch */ color: oklch(58.6% 0.165 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce85bd',
    500: '#b54fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b54fa2;
$custom-light: #ce85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fa2",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 311.176,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.1653,
    "h": 335.2
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#B54FA2
secondary
#99C6A2
accent
#D16E57
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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