#B478CE#B478CE

#B478CE is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.7% C 0.138 H 315.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B478CE
RGBrgb(180, 120, 206)
HSLhsl(282, 47%, 64%)
HSVhsv(282, 42%, 81%)
CMYKcmyk(12.6%, 41.7%, 0%, 19.2%)
CIE-LABlab(59.52, 38.50, -35.36)
CIE-LCHlch(59.52, 52.28, 317.43°)
OKLaboklab(66.67% 0.098 -0.0977)
OKLCHoklch(66.67% 0.138 315.1)
XYZxyz(36.6777, 27.5934, 61.7745)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478CE #92CE78
analogous
#8978CE #B478CE #CE78BD
triadic
#B478CE #CEB478 #78CEB4
tetradic
#B478CE #CE8978 #92CE78 #78BDCE
square
#B478CE #CE8978 #92CE78 #78BDCE
split-complementary
#B478CE #BDCE78 #78CE89
monochromatic
#793695 #9B4BBE #B478CE #CDA5DE #E6D2EF

Accessibility & contrast

On white

3.22
#B478CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B478CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478CE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478CE#FFFFFF#000000##000000
##B478CE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#7891CC
Tritanopia (blue-blind)
#B38499
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b478ce;
/* rgb */ color: rgb(180, 120, 206);
/* oklch */ color: oklch(66.7% 0.138 315.1);
Tailwind
colors: {
  custom: {
    50: '#cca0dd',
    500: '#b478ce',
    950: '#000000',
  },
}
SCSS
$custom: #b478ce;
$custom-light: #cca0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b478ce",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 281.86,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.13842,
    "h": 315.1
  },
  "luminance": 0.27592
}

Semantic roles & 50–950 ramp

primary
#B478CE
secondary
#CBE0C2
accent
#BA2C57
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B478CE

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

Preview Lab → · Contrast checker → · Palette generator →

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