#B054BA#B054BA

#B054BA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.175 H 323.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B054BA
RGBrgb(176, 84, 186)
HSLhsl(294, 43%, 53%)
HSVhsv(294, 55%, 73%)
CMYKcmyk(5.4%, 54.8%, 0%, 27.1%)
CIE-LABlab(50.82, 52.16, -37.59)
CIE-LCHlch(50.82, 64.29, 324.22°)
OKLaboklab(59.8% 0.1411 -0.104)
OKLCHoklch(59.8% 0.175 323.6)
XYZxyz(29.9369, 19.1174, 48.5580)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054BA #5EBA54
analogous
#7D54BA #B054BA #BA5491
triadic
#B054BA #BAB054 #54BAB0
tetradic
#B054BA #BA7D54 #5EBA54 #5491BA
square
#B054BA #BA7D54 #5EBA54 #5491BA
split-complementary
#B054BA #91BA54 #54BA7D
monochromatic
#632A69 #8C3C95 #B054BA #C480CC #D8ABDD

Accessibility & contrast

On white

4.35
#B054BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B054BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054BA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054BA#FFFFFF#000000##000000
##B054BA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#B3627F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b054ba;
/* rgb */ color: rgb(176, 84, 186);
/* oklch */ color: oklch(59.8% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca88cf',
    500: '#b054ba',
    950: '#000000',
  },
}
SCSS
$custom: #b054ba;
$custom-light: #ca88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b054ba",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 294.118,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.17525,
    "h": 323.6
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#B054BA
secondary
#A3CB9F
accent
#D25662
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B054BA

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

Preview Lab → · Contrast checker → · Palette generator →

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