#B254BB#B254BB

#B254BB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.177 H 324.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B254BB
RGBrgb(178, 84, 187)
HSLhsl(295, 43%, 53%)
HSVhsv(295, 55%, 73%)
CMYKcmyk(4.8%, 55.1%, 0%, 26.7%)
CIE-LABlab(51.15, 52.89, -37.64)
CIE-LCHlch(51.15, 64.92, 324.56°)
OKLaboklab(60.11% 0.1435 -0.1041)
OKLCHoklch(60.11% 0.177 324.1)
XYZxyz(30.4993, 19.3951, 49.1412)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254BB #5DBB54
analogous
#7E54BB #B254BB #BB5490
triadic
#B254BB #BBB254 #54BBB2
tetradic
#B254BB #BB7E54 #5DBB54 #5490BB
square
#B254BB #BB7E54 #5DBB54 #5490BB
split-complementary
#B254BB #90BB54 #54BB7E
monochromatic
#652A6A #8E3C96 #B254BB #C680CC #D9ACDE

Accessibility & contrast

On white

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

On black

4.88
#B254BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254BB#FFFFFF#000000##000000
##B254BB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#B56280
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b254bb;
/* rgb */ color: rgb(178, 84, 187);
/* oklch */ color: oklch(60.1% 0.177 324.1);
Tailwind
colors: {
  custom: {
    50: '#cb89d0',
    500: '#b254bb',
    950: '#000000',
  },
}
SCSS
$custom: #b254bb;
$custom-light: #cb89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b254bb",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 294.757,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.17729,
    "h": 324.1
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#B254BB
secondary
#A3CC9F
accent
#D35560
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B254BB

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

Preview Lab → · Contrast checker → · Palette generator →

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