#B278BC#B278BC

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

Color values

HEX#B278BC
RGBrgb(178, 120, 188)
HSLhsl(291, 34%, 60%)
HSVhsv(291, 36%, 74%)
CMYKcmyk(5.3%, 36.2%, 0%, 26.3%)
CIE-LABlab(58.54, 34.19, -26.70)
CIE-LCHlch(58.54, 43.38, 322.01°)
OKLaboklab(65.63% 0.0918 -0.073)
OKLCHoklch(65.63% 0.117 321.5)
XYZxyz(34.1526, 26.5298, 50.8889)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278BC #82BC78
analogous
#9078BC #B278BC #BC78A4
triadic
#B278BC #BCB278 #78BCB2
tetradic
#B278BC #BC9078 #82BC78 #78A4BC
square
#B278BC #BC9078 #82BC78 #78A4BC
split-complementary
#B278BC #A4BC78 #78BC90
monochromatic
#733E7C #9952A5 #B278BC #C9A1D0 #E1CAE5

Accessibility & contrast

On white

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

On black

6.31
#B278BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278BC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278BC#FFFFFF#000000##000000
##B278BC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#7F8FBA
Tritanopia (blue-blind)
#B48091
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b278bc;
/* rgb */ color: rgb(178, 120, 188);
/* oklch */ color: oklch(65.6% 0.117 321.5);
Tailwind
colors: {
  custom: {
    50: '#caa0d0',
    500: '#b278bc',
    950: '#000000',
  },
}
SCSS
$custom: #b278bc;
$custom-light: #caa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b278bc",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 291.176,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65626,
    "c": 0.11724,
    "h": 321.5
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#B278BC
secondary
#BFD5BB
accent
#AC394A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B278BC

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

Preview Lab → · Contrast checker → · Palette generator →

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