#B054B2#B054B2

#B054B2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.168 H 326.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B054B2
RGBrgb(176, 84, 178)
HSLhsl(299, 38%, 51%)
HSVhsv(299, 53%, 70%)
CMYKcmyk(1.1%, 52.8%, 0%, 30.2%)
CIE-LABlab(50.44, 50.67, -33.55)
CIE-LCHlch(50.44, 60.77, 326.49°)
OKLaboklab(59.39% 0.1401 -0.0923)
OKLCHoklch(59.39% 0.168 326.6)
XYZxyz(29.1102, 18.7867, 44.2037)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054B2 #56B254
analogous
#8154B2 #B054B2 #B25485
triadic
#B054B2 #B2B054 #54B2B0
tetradic
#B054B2 #B28154 #56B254 #5485B2
square
#B054B2 #B28154 #56B254 #5485B2
split-complementary
#B054B2 #85B254 #54B281
monochromatic
#5F2B60 #893E8A #B054B2 #C37EC5 #D7A8D8

Accessibility & contrast

On white

4.41
#B054B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B054B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054B2#FFFFFF#000000##000000
##B054B21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#B45F7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b054b2;
/* rgb */ color: rgb(176, 84, 178);
/* oklch */ color: oklch(59.4% 0.168 326.6);
Tailwind
colors: {
  custom: {
    50: '#ca88c9',
    500: '#b054b2',
    950: '#000000',
  },
}
SCSS
$custom: #b054b2;
$custom-light: #ca88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b054b2",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 298.723,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.16779,
    "h": 326.6
  },
  "luminance": 0.18785
}

Semantic roles & 50–950 ramp

primary
#B054B2
secondary
#9DC69C
accent
#CE5A5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B054B2

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

Preview Lab → · Contrast checker → · Palette generator →

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