#B478BF#B478BF

#B478BF is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.0% C 0.122 H 321.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B478BF
RGBrgb(180, 120, 191)
HSLhsl(291, 36%, 61%)
HSVhsv(291, 37%, 75%)
CMYKcmyk(5.8%, 37.2%, 0%, 25.1%)
CIE-LABlab(58.88, 35.42, -27.86)
CIE-LCHlch(58.88, 45.06, 321.82°)
OKLaboklab(65.98% 0.0949 -0.0762)
OKLCHoklch(65.98% 0.122 321.2)
XYZxyz(34.9417, 26.8990, 52.6315)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478BF #83BF78
analogous
#9078BF #B478BF #BF78A6
triadic
#B478BF #BFB478 #78BFB4
tetradic
#B478BF #BF9078 #83BF78 #78A6BF
square
#B478BF #BF9078 #83BF78 #78A6BF
split-complementary
#B478BF #A6BF78 #78BF90
monochromatic
#763D80 #9C50A9 #B478BF #CBA2D3 #E2CBE6

Accessibility & contrast

On white

3.29
#B478BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B478BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478BF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478BF#FFFFFF#000000##000000
##B478BF1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C2
Deuteranopia (green-blind)
#7F90BD
Tritanopia (blue-blind)
#B68093
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b478bf;
/* rgb */ color: rgb(180, 120, 191);
/* oklch */ color: oklch(66.0% 0.122 321.2);
Tailwind
colors: {
  custom: {
    50: '#cba0d2',
    500: '#b478bf',
    950: '#000000',
  },
}
SCSS
$custom: #b478bf;
$custom-light: #cba0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b478bf",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 290.704,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65976,
    "c": 0.12169,
    "h": 321.2
  },
  "luminance": 0.26898
}

Semantic roles & 50–950 ramp

primary
#B478BF
secondary
#C0D7BC
accent
#AF3749
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B478BF

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

Preview Lab → · Contrast checker → · Palette generator →

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