#BD78EC#BD78EC

#BD78EC is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.176 H 310.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BD78EC
RGBrgb(189, 120, 236)
HSLhsl(276, 75%, 70%)
HSVhsv(276, 49%, 93%)
CMYKcmyk(19.9%, 49.2%, 0%, 7.5%)
CIE-LABlab(61.92, 47.50, -48.31)
CIE-LCHlch(61.92, 67.75, 314.52°)
OKLaboklab(69.14% 0.1133 -0.1349)
OKLCHoklch(69.14% 0.176 310)
XYZxyz(42.8402, 30.3086, 82.9340)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78EC #A7EC78
analogous
#8378EC #BD78EC #EC78E1
triadic
#BD78EC #ECBD78 #78ECBD
tetradic
#BD78EC #EC8378 #A7EC78 #78E1EC
square
#BD78EC #EC8378 #A7EC78 #78E1EC
split-complementary
#BD78EC #E1EC78 #78EC83
monochromatic
#851DCD #A342E4 #BD78EC #D7AEF4 #F1E3FB

Accessibility & contrast

On white

2.97
#BD78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BD78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78EC#FFFFFF#000000##000000
##BD78EC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#B78BA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bd78ec;
/* rgb */ color: rgb(189, 120, 236);
/* oklch */ color: oklch(69.1% 0.176 310.0);
Tailwind
colors: {
  custom: {
    50: '#d3a1f2',
    500: '#bd78ec',
    950: '#000000',
  },
}
SCSS
$custom: #bd78ec;
$custom-light: #d3a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78ec",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 275.69,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69141,
    "c": 0.17617,
    "h": 310
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#BD78EC
secondary
#DDF0D0
accent
#D70E60
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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