#B478CA#B478CA

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

Color values

HEX#B478CA
RGBrgb(180, 120, 202)
HSLhsl(284, 44%, 63%)
HSVhsv(284, 41%, 79%)
CMYKcmyk(10.9%, 40.6%, 0%, 20.8%)
CIE-LABlab(59.34, 37.67, -33.38)
CIE-LCHlch(59.34, 50.33, 318.46°)
OKLaboklab(66.48% 0.0973 -0.092)
OKLCHoklch(66.48% 0.134 316.6)
XYZxyz(36.1980, 27.4015, 59.2478)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478CA #8ECA78
analogous
#8B78CA #B478CA #CA78B7
triadic
#B478CA #CAB478 #78CAB4
tetradic
#B478CA #CA8B78 #8ECA78 #78B7CA
square
#B478CA #CA8B78 #8ECA78 #78B7CA
split-complementary
#B478CA #B7CA78 #78CA8B
monochromatic
#78388F #9C4CB9 #B478CA #CCA4DB #E5D0ED

Accessibility & contrast

On white

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

On black

6.48
#B478CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478CA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478CA#FFFFFF#000000##000000
##B478CA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#7A91C8
Tritanopia (blue-blind)
#B38397
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b478ca;
/* rgb */ color: rgb(180, 120, 202);
/* oklch */ color: oklch(66.5% 0.134 316.6);
Tailwind
colors: {
  custom: {
    50: '#cca0da',
    500: '#b478ca',
    950: '#000000',
  },
}
SCSS
$custom: #b478ca;
$custom-light: #cca0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b478ca",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 283.902,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66477,
    "c": 0.13387,
    "h": 316.6
  },
  "luminance": 0.27401
}

Semantic roles & 50–950 ramp

primary
#B478CA
secondary
#C8DEC0
accent
#B72F53
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130F15
muted
#827E83

Preview Lab

Preview with #B478CA

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

Preview Lab → · Contrast checker → · Palette generator →

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