#B278BB#B278BB

#B278BB is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.6% C 0.116 H 322.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B278BB
RGBrgb(178, 120, 187)
HSLhsl(292, 33%, 60%)
HSVhsv(292, 36%, 73%)
CMYKcmyk(4.8%, 35.8%, 0%, 26.7%)
CIE-LABlab(58.50, 33.99, -26.19)
CIE-LCHlch(58.50, 42.91, 322.38°)
OKLaboklab(65.58% 0.0915 -0.0715)
OKLCHoklch(65.58% 0.116 322)
XYZxyz(34.0452, 26.4869, 50.3232)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278BB #81BB78
analogous
#9078BB #B278BB #BB78A3
triadic
#B278BB #BBB278 #78BBB2
tetradic
#B278BB #BB9078 #81BB78 #78A3BB
square
#B278BB #BB9078 #81BB78 #78A3BB
split-complementary
#B278BB #A3BB78 #78BB90
monochromatic
#733E7B #9952A3 #B278BB #C9A1D0 #E0C9E4

Accessibility & contrast

On white

3.33
#B278BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B278BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278BB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278BB#FFFFFF#000000##000000
##B278BB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BE
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#B47F91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b278bb;
/* rgb */ color: rgb(178, 120, 187);
/* oklch */ color: oklch(65.6% 0.116 322.0);
Tailwind
colors: {
  custom: {
    50: '#caa0cf',
    500: '#b278bb',
    950: '#000000',
  },
}
SCSS
$custom: #b278bb;
$custom-light: #caa0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b278bb",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 291.94,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.11616,
    "h": 322
  },
  "luminance": 0.26486
}

Semantic roles & 50–950 ramp

primary
#B278BB
secondary
#BED4BB
accent
#AC3A49
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B278BB

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

Preview Lab → · Contrast checker → · Palette generator →

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