#B478BC#B478BC

#B478BC is a light, moderate purple. Relative luminance 0.268; OKLCH L 65.8% C 0.118 H 322.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B478BC
RGBrgb(180, 120, 188)
HSLhsl(293, 34%, 60%)
HSVhsv(293, 36%, 74%)
CMYKcmyk(4.3%, 36.2%, 0%, 26.3%)
CIE-LABlab(58.76, 34.82, -26.34)
CIE-LCHlch(58.76, 43.66, 322.90°)
OKLaboklab(65.84% 0.0941 -0.0719)
OKLCHoklch(65.84% 0.118 322.6)
XYZxyz(34.6149, 26.7683, 50.9106)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478BC #80BC78
analogous
#9278BC #B478BC #BC78A2
triadic
#B478BC #BCB478 #78BCB4
tetradic
#B478BC #BC9278 #80BC78 #78A2BC
square
#B478BC #BC9278 #80BC78 #78A2BC
split-complementary
#B478BC #A2BC78 #78BC92
monochromatic
#753E7C #9B52A5 #B478BC #CBA1D0 #E1CAE5

Accessibility & contrast

On white

3.31
#B478BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B478BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478BC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478BC#FFFFFF#000000##000000
##B478BC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#8090BA
Tritanopia (blue-blind)
#B67F91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b478bc;
/* rgb */ color: rgb(180, 120, 188);
/* oklch */ color: oklch(65.8% 0.118 322.6);
Tailwind
colors: {
  custom: {
    50: '#cba0d0',
    500: '#b478bc',
    950: '#000000',
  },
}
SCSS
$custom: #b478bc;
$custom-light: #cba0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b478bc",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 292.941,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65844,
    "c": 0.11846,
    "h": 322.6
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

primary
#B478BC
secondary
#BED5BB
accent
#AC3947
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B478BC

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

Preview Lab → · Contrast checker → · Palette generator →

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