#BD78E7#BD78E7

#BD78E7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.171 H 311.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BD78E7
RGBrgb(189, 120, 231)
HSLhsl(277, 70%, 69%)
HSVhsv(277, 48%, 91%)
CMYKcmyk(18.2%, 48.1%, 0%, 9.4%)
CIE-LABlab(61.67, 46.41, -45.92)
CIE-LCHlch(61.67, 65.29, 315.31°)
OKLaboklab(68.88% 0.1127 -0.128)
OKLCHoklch(68.88% 0.171 311.4)
XYZxyz(42.1240, 30.0221, 79.1616)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78E7 #A2E778
analogous
#8678E7 #BD78E7 #E778DA
triadic
#BD78E7 #E7BD78 #78E7BD
tetradic
#BD78E7 #E78678 #A2E778 #78DAE7
square
#BD78E7 #E78678 #A2E778 #78DAE7
split-complementary
#BD78E7 #DAE778 #78E786
monochromatic
#8623C2 #A444DE #BD78E7 #D6ACF0 #F0E0F9

Accessibility & contrast

On white

3.00
#BD78E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BD78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78E7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78E7#FFFFFF#000000##000000
##BD78E71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E91EB
Deuteranopia (green-blind)
#7196E4
Tritanopia (blue-blind)
#B88AA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bd78e7;
/* rgb */ color: rgb(189, 120, 231);
/* oklch */ color: oklch(68.9% 0.171 311.4);
Tailwind
colors: {
  custom: {
    50: '#d3a1ef',
    500: '#bd78e7',
    950: '#000000',
  },
}
SCSS
$custom: #bd78e7;
$custom-light: #d3a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78e7",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 277.297,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.17054,
    "h": 311.4
  },
  "luminance": 0.30021
}

Semantic roles & 50–950 ramp

primary
#BD78E7
secondary
#D9EECD
accent
#D2145C
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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