#B254BD#B254BD

#B254BD is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.179 H 323.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B254BD
RGBrgb(178, 84, 189)
HSLhsl(294, 44%, 54%)
HSVhsv(294, 56%, 74%)
CMYKcmyk(5.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(51.25, 53.26, -38.64)
CIE-LCHlch(51.25, 65.81, 324.04°)
OKLaboklab(60.21% 0.1437 -0.107)
OKLCHoklch(60.21% 0.179 323.3)
XYZxyz(30.7148, 19.4813, 50.2767)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254BD #5FBD54
analogous
#7D54BD #B254BD #BD5493
triadic
#B254BD #BDB254 #54BDB2
tetradic
#B254BD #BD7D54 #5FBD54 #5493BD
square
#B254BD #BD7D54 #5FBD54 #5493BD
split-complementary
#B254BD #93BD54 #54BD7D
monochromatic
#662A6D #8F3B99 #B254BD #C680CE #DAACDF

Accessibility & contrast

On white

4.29
#B254BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B254BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254BD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254BD#FFFFFF#000000##000000
##B254BD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#B56281
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b254bd;
/* rgb */ color: rgb(178, 84, 189);
/* oklch */ color: oklch(60.2% 0.179 323.3);
Tailwind
colors: {
  custom: {
    50: '#cb89d1',
    500: '#b254bd',
    950: '#000000',
  },
}
SCSS
$custom: #b254bd;
$custom-light: #cb89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b254bd",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 293.714,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.17917,
    "h": 323.3
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

primary
#B254BD
secondary
#A5CDA0
accent
#D45461
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B254BD

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

Preview Lab → · Contrast checker → · Palette generator →

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