#B254BC#B254BC

#B254BC is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.178 H 323.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B254BC
RGBrgb(178, 84, 188)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 55%, 74%)
CMYKcmyk(5.3%, 55.3%, 0%, 26.3%)
CIE-LABlab(51.20, 53.08, -38.14)
CIE-LCHlch(51.20, 65.36, 324.30°)
OKLaboklab(60.16% 0.1436 -0.1055)
OKLCHoklch(60.16% 0.178 323.7)
XYZxyz(30.6067, 19.4380, 49.7070)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254BC #5EBC54
analogous
#7E54BC #B254BC #BC5492
triadic
#B254BC #BCB254 #54BCB2
tetradic
#B254BC #BC7E54 #5EBC54 #5492BC
square
#B254BC #BC7E54 #5EBC54 #5492BC
split-complementary
#B254BC #92BC54 #54BC7E
monochromatic
#652A6B #8F3B97 #B254BC #C680CD #DAACDE

Accessibility & contrast

On white

4.30
#B254BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B254BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254BC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254BC#FFFFFF#000000##000000
##B254BC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#B56280
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b254bc;
/* rgb */ color: rgb(178, 84, 188);
/* oklch */ color: oklch(60.2% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#cb89d0',
    500: '#b254bc',
    950: '#000000',
  },
}
SCSS
$custom: #b254bc;
$custom-light: #cb89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b254bc",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 294.231,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.17822,
    "h": 323.7
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#B254BC
secondary
#A4CCA0
accent
#D35461
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B254BC

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

Preview Lab → · Contrast checker → · Palette generator →

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