#B478CB#B478CB

#B478CB is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.5% C 0.135 H 316.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B478CB
RGBrgb(180, 120, 203)
HSLhsl(283, 44%, 63%)
HSVhsv(283, 41%, 80%)
CMYKcmyk(11.3%, 40.9%, 0%, 20.4%)
CIE-LABlab(59.39, 37.87, -33.87)
CIE-LCHlch(59.39, 50.81, 318.19°)
OKLaboklab(66.52% 0.0975 -0.0934)
OKLCHoklch(66.52% 0.135 316.2)
XYZxyz(36.3167, 27.4490, 59.8734)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478CB #8FCB78
analogous
#8A78CB #B478CB #CB78B9
triadic
#B478CB #CBB478 #78CBB4
tetradic
#B478CB #CB8A78 #8FCB78 #78B9CB
square
#B478CB #CB8A78 #8FCB78 #78B9CB
split-complementary
#B478CB #B9CB78 #78CB8A
monochromatic
#783891 #9B4CBA #B478CB #CDA4DC #E5D0ED

Accessibility & contrast

On white

3.24
#B478CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B478CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478CB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478CB#FFFFFF#000000##000000
##B478CB1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#7A91C9
Tritanopia (blue-blind)
#B38398
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b478cb;
/* rgb */ color: rgb(180, 120, 203);
/* oklch */ color: oklch(66.5% 0.135 316.2);
Tailwind
colors: {
  custom: {
    50: '#cca0db',
    500: '#b478cb',
    950: '#000000',
  },
}
SCSS
$custom: #b478cb;
$custom-light: #cca0db;
$custom-dark: #000000;
JSON
{
  "hex": "#b478cb",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 283.373,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66524,
    "c": 0.13501,
    "h": 316.2
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#B478CB
secondary
#C9DEC1
accent
#B82E54
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B478CB

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

Preview Lab → · Contrast checker → · Palette generator →

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