#BD78E4#BD78E4

#BD78E4 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.167 H 312.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BD78E4
RGBrgb(189, 120, 228)
HSLhsl(278, 67%, 68%)
HSVhsv(278, 47%, 89%)
CMYKcmyk(17.1%, 47.4%, 0%, 10.6%)
CIE-LABlab(61.53, 45.77, -44.48)
CIE-LCHlch(61.53, 63.82, 315.82°)
OKLaboklab(68.72% 0.1123 -0.1238)
OKLCHoklch(68.72% 0.167 312.2)
XYZxyz(41.7039, 29.8541, 76.9492)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78E4 #9FE478
analogous
#8778E4 #BD78E4 #E478D5
triadic
#BD78E4 #E4BD78 #78E4BD
tetradic
#BD78E4 #E48778 #9FE478 #78D5E4
square
#BD78E4 #E48778 #9FE478 #78D5E4
split-complementary
#BD78E4 #D5E478 #78E487
monochromatic
#8626BC #A445DA #BD78E4 #D6ABEE #EFDEF8

Accessibility & contrast

On white

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

On black

6.97
#BD78E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD78E4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78E4#FFFFFF#000000##000000
##BD78E41.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#7396E1
Tritanopia (blue-blind)
#B989A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bd78e4;
/* rgb */ color: rgb(189, 120, 228);
/* oklch */ color: oklch(68.7% 0.167 312.2);
Tailwind
colors: {
  custom: {
    50: '#d3a1ed',
    500: '#bd78e4',
    950: '#000000',
  },
}
SCSS
$custom: #bd78e4;
$custom-light: #d3a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78e4",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 278.333,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.16717,
    "h": 312.2
  },
  "luminance": 0.29853
}

Semantic roles & 50–950 ramp

primary
#BD78E4
secondary
#D7ECCC
accent
#CF1759
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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