#BD78EB#BD78EB

#BD78EB is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.175 H 310.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BD78EB
RGBrgb(189, 120, 235)
HSLhsl(276, 74%, 70%)
HSVhsv(276, 49%, 92%)
CMYKcmyk(19.6%, 48.9%, 0%, 7.8%)
CIE-LABlab(61.87, 47.28, -47.83)
CIE-LCHlch(61.87, 67.26, 314.67°)
OKLaboklab(69.09% 0.1131 -0.1336)
OKLCHoklch(69.09% 0.175 310.3)
XYZxyz(42.6954, 30.2507, 82.1709)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78EB #A6EB78
analogous
#8478EB #BD78EB #EB78E0
triadic
#BD78EB #EBBD78 #78EBBD
tetradic
#BD78EB #EB8478 #A6EB78 #78E0EB
square
#BD78EB #EB8478 #A6EB78 #78E0EB
split-complementary
#BD78EB #E0EB78 #78EB84
monochromatic
#861ECB #A343E3 #BD78EB #D7ADF3 #F1E3FB

Accessibility & contrast

On white

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

On black

7.05
#BD78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78EB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78EB#FFFFFF#000000##000000
##BD78EB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#B78BA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bd78eb;
/* rgb */ color: rgb(189, 120, 235);
/* oklch */ color: oklch(69.1% 0.175 310.3);
Tailwind
colors: {
  custom: {
    50: '#d3a1f2',
    500: '#bd78eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd78eb;
$custom-light: #d3a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78eb",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 276,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69088,
    "c": 0.17505,
    "h": 310.3
  },
  "luminance": 0.3025
}

Semantic roles & 50–950 ramp

primary
#BD78EB
secondary
#DCF0CF
accent
#D60F5F
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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