#B478BB#B478BB

#B478BB is a light, moderate purple. Relative luminance 0.267; OKLCH L 65.8% C 0.117 H 323.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B478BB
RGBrgb(180, 120, 187)
HSLhsl(294, 33%, 60%)
HSVhsv(294, 36%, 73%)
CMYKcmyk(3.7%, 35.8%, 0%, 26.7%)
CIE-LABlab(58.72, 34.63, -25.83)
CIE-LCHlch(58.72, 43.20, 323.28°)
OKLaboklab(65.8% 0.0939 -0.0705)
OKLCHoklch(65.8% 0.117 323.1)
XYZxyz(34.5075, 26.7253, 50.3448)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478BB #7FBB78
analogous
#9278BB #B478BB #BB78A1
triadic
#B478BB #BBB478 #78BBB4
tetradic
#B478BB #BB9278 #7FBB78 #78A1BB
square
#B478BB #BB9278 #7FBB78 #78A1BB
split-complementary
#B478BB #A1BB78 #78BB92
monochromatic
#743E7B #9B52A3 #B478BB #CBA1D0 #E1C9E4

Accessibility & contrast

On white

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

On black

6.34
#B478BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478BB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478BB#FFFFFF#000000##000000
##B478BB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b478bb;
/* rgb */ color: rgb(180, 120, 187);
/* oklch */ color: oklch(65.8% 0.117 323.1);
Tailwind
colors: {
  custom: {
    50: '#cba0cf',
    500: '#b478bb',
    950: '#000000',
  },
}
SCSS
$custom: #b478bb;
$custom-light: #cba0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b478bb",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 293.731,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65801,
    "c": 0.11739,
    "h": 323.1
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#B478BB
secondary
#BDD4BB
accent
#AC3A46
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B478BB

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

Preview Lab → · Contrast checker → · Palette generator →

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