#BD78EA#BD78EA

#BD78EA is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.174 H 310.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#BD78EA
RGBrgb(189, 120, 234)
HSLhsl(276, 73%, 69%)
HSVhsv(276, 49%, 92%)
CMYKcmyk(19.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(61.82, 47.06, -47.35)
CIE-LCHlch(61.82, 66.76, 314.82°)
OKLaboklab(69.04% 0.113 -0.1322)
OKLCHoklch(69.04% 0.174 310.5)
XYZxyz(42.5513, 30.1930, 81.4122)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78EA #A5EA78
analogous
#8478EA #BD78EA #EA78DE
triadic
#BD78EA #EABD78 #78EABD
tetradic
#BD78EA #EA8478 #A5EA78 #78DEEA
square
#BD78EA #EA8478 #A5EA78 #78DEEA
split-complementary
#BD78EA #DEEA78 #78EA84
monochromatic
#861FC8 #A343E2 #BD78EA #D7ADF2 #F1E2FA

Accessibility & contrast

On white

2.98
#BD78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#BD78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78EA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78EA#FFFFFF#000000##000000
##BD78EA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#B88BA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bd78ea;
/* rgb */ color: rgb(189, 120, 234);
/* oklch */ color: oklch(69.0% 0.174 310.5);
Tailwind
colors: {
  custom: {
    50: '#d3a1f1',
    500: '#bd78ea',
    950: '#000000',
  },
}
SCSS
$custom: #bd78ea;
$custom-light: #d3a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78ea",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 276.316,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69035,
    "c": 0.17392,
    "h": 310.5
  },
  "luminance": 0.30192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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