#BD78E9#BD78E9

#BD78E9 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.0% C 0.173 H 310.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#BD78E9
RGBrgb(189, 120, 233)
HSLhsl(277, 72%, 69%)
HSVhsv(277, 48%, 91%)
CMYKcmyk(18.9%, 48.5%, 0%, 8.6%)
CIE-LABlab(61.77, 46.85, -46.88)
CIE-LCHlch(61.77, 66.27, 314.98°)
OKLaboklab(68.98% 0.1129 -0.1308)
OKLCHoklch(68.98% 0.173 310.8)
XYZxyz(42.4080, 30.1357, 80.6577)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78E9 #A4E978
analogous
#8578E9 #BD78E9 #E978DD
triadic
#BD78E9 #E9BD78 #78E9BD
tetradic
#BD78E9 #E98578 #A4E978 #78DDE9
square
#BD78E9 #E98578 #A4E978 #78DDE9
split-complementary
#BD78E9 #DDE978 #78E985
monochromatic
#8620C6 #A343E0 #BD78E9 #D7ADF2 #F0E1FA

Accessibility & contrast

On white

2.99
#BD78E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#BD78E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78E9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78E9#FFFFFF#000000##000000
##BD78E91.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92ED
Deuteranopia (green-blind)
#7097E6
Tritanopia (blue-blind)
#B88AA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bd78e9;
/* rgb */ color: rgb(189, 120, 233);
/* oklch */ color: oklch(69.0% 0.173 310.8);
Tailwind
colors: {
  custom: {
    50: '#d3a1f0',
    500: '#bd78e9',
    950: '#000000',
  },
}
SCSS
$custom: #bd78e9;
$custom-light: #d3a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78e9",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 276.637,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68983,
    "c": 0.17279,
    "h": 310.8
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#BD78E9
secondary
#DBEFCE
accent
#D4115D
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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