#BD78EF#BD78EF

#BD78EF is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.180 H 309.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#BD78EF
RGBrgb(189, 120, 239)
HSLhsl(275, 79%, 70%)
HSVhsv(275, 50%, 94%)
CMYKcmyk(20.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(62.07, 48.16, -49.73)
CIE-LCHlch(62.07, 69.23, 314.08°)
OKLaboklab(69.3% 0.1136 -0.1391)
OKLCHoklch(69.3% 0.18 309.2)
XYZxyz(43.2798, 30.4844, 85.2487)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78EF #AAEF78
analogous
#8178EF #BD78EF #EF78E5
triadic
#BD78EF #EFBD78 #78EFBD
tetradic
#BD78EF #EF8178 #AAEF78 #78E5EF
square
#BD78EF #EF8178 #AAEF78 #78E5EF
split-complementary
#BD78EF #E5EF78 #78EF81
monochromatic
#8519D4 #A241E9 #BD78EF #D8AFF5 #F2E4FC

Accessibility & contrast

On white

2.96
#BD78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#BD78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78EF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78EF#FFFFFF#000000##000000
##BD78EF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#B68CA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bd78ef;
/* rgb */ color: rgb(189, 120, 239);
/* oklch */ color: oklch(69.3% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#d3a1f5',
    500: '#bd78ef',
    950: '#000000',
  },
}
SCSS
$custom: #bd78ef;
$custom-light: #d3a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78ef",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 274.79,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69302,
    "c": 0.17957,
    "h": 309.2
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#BD78EF
secondary
#DFF2D1
accent
#DB0A62
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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