#BD78DC#BD78DC

#BD78DC is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.3% C 0.158 H 314.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BD78DC
RGBrgb(189, 120, 220)
HSLhsl(281, 59%, 67%)
HSVhsv(281, 45%, 86%)
CMYKcmyk(14.1%, 45.5%, 0%, 13.7%)
CIE-LABlab(61.15, 44.07, -40.61)
CIE-LCHlch(61.15, 59.93, 317.34°)
OKLaboklab(68.32% 0.1112 -0.1126)
OKLCHoklch(68.32% 0.158 314.6)
XYZxyz(40.6190, 29.4201, 71.2352)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78DC #97DC78
analogous
#8B78DC #BD78DC #DC78C9
triadic
#BD78DC #DCBD78 #78DCBD
tetradic
#BD78DC #DC8B78 #97DC78 #78C9DC
square
#BD78DC #DC8B78 #97DC78 #78C9DC
split-complementary
#BD78DC #C9DC78 #78DC8B
monochromatic
#852DAD #A547CF #BD78DC #D5A9E9 #EDD9F5

Accessibility & contrast

On white

3.05
#BD78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BD78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD78DC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78DC#FFFFFF#000000##000000
##BD78DC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E0
Deuteranopia (green-blind)
#7796D9
Tritanopia (blue-blind)
#BB87A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bd78dc;
/* rgb */ color: rgb(189, 120, 220);
/* oklch */ color: oklch(68.3% 0.158 314.6);
Tailwind
colors: {
  custom: {
    50: '#d3a1e7',
    500: '#bd78dc',
    950: '#000000',
  },
}
SCSS
$custom: #bd78dc;
$custom-light: #d3a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78dc",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 281.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68318,
    "c": 0.15823,
    "h": 314.6
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#BD78DC
secondary
#D2E8C8
accent
#C61F53
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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