#BD78E5#BD78E5

#BD78E5 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.168 H 311.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#BD78E5
RGBrgb(189, 120, 229)
HSLhsl(278, 68%, 68%)
HSVhsv(278, 48%, 90%)
CMYKcmyk(17.5%, 47.6%, 0%, 10.2%)
CIE-LABlab(61.58, 45.98, -44.96)
CIE-LCHlch(61.58, 64.31, 315.65°)
OKLaboklab(68.77% 0.1124 -0.1252)
OKLCHoklch(68.77% 0.168 311.9)
XYZxyz(41.8431, 29.9098, 77.6825)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78E5 #A0E578
analogous
#8678E5 #BD78E5 #E578D6
triadic
#BD78E5 #E5BD78 #78E5BD
tetradic
#BD78E5 #E58678 #A0E578 #78D6E5
square
#BD78E5 #E58678 #A0E578 #78D6E5
split-complementary
#BD78E5 #D6E578 #78E586
monochromatic
#8625BE #A445DB #BD78E5 #D6ABEF #EFDFF9

Accessibility & contrast

On white

3.01
#BD78E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#BD78E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD78E5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78E5#FFFFFF#000000##000000
##BD78E51.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#7396E2
Tritanopia (blue-blind)
#B989A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bd78e5;
/* rgb */ color: rgb(189, 120, 229);
/* oklch */ color: oklch(68.8% 0.168 311.9);
Tailwind
colors: {
  custom: {
    50: '#d3a1ed',
    500: '#bd78e5',
    950: '#000000',
  },
}
SCSS
$custom: #bd78e5;
$custom-light: #d3a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78e5",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 277.982,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.16829,
    "h": 311.9
  },
  "luminance": 0.29909
}

Semantic roles & 50–950 ramp

primary
#BD78E5
secondary
#D8EDCC
accent
#D0165A
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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