#B054C8#B054C8

#B054C8 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.189 H 318.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B054C8
RGBrgb(176, 84, 200)
HSLhsl(288, 51%, 56%)
HSVhsv(288, 58%, 78%)
CMYKcmyk(12%, 58%, 0%, 21.6%)
CIE-LABlab(51.54, 54.87, -44.53)
CIE-LCHlch(51.54, 70.66, 320.94°)
OKLaboklab(60.56% 0.1422 -0.1241)
OKLCHoklch(60.56% 0.189 318.9)
XYZxyz(31.4988, 19.7422, 56.7838)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054C8 #6CC854
analogous
#7654C8 #B054C8 #C854A6
triadic
#B054C8 #C8B054 #54C8B0
tetradic
#B054C8 #C87654 #6CC854 #54A6C8
square
#B054C8 #C87654 #6CC854 #54A6C8
split-complementary
#B054C8 #A6C854 #54C876
monochromatic
#69277A #9136A9 #B054C8 #C582D7 #DBB1E6

Accessibility & contrast

On white

4.24
#B054C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B054C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054C8#FFFFFF#000000##000000
##B054C81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CC
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#B06686
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b054c8;
/* rgb */ color: rgb(176, 84, 200);
/* oklch */ color: oklch(60.6% 0.189 318.9);
Tailwind
colors: {
  custom: {
    50: '#ca89d9',
    500: '#b054c8',
    950: '#000000',
  },
}
SCSS
$custom: #b054c8;
$custom-light: #ca89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b054c8",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 287.586,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.18873,
    "h": 318.9
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#B054C8
secondary
#AED4A4
accent
#DB4D6A
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B054C8

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

Preview Lab → · Contrast checker → · Palette generator →

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