#BD78E8#BD78E8

#BD78E8 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.9% C 0.172 H 311.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#BD78E8
RGBrgb(189, 120, 232)
HSLhsl(277, 71%, 69%)
HSVhsv(277, 48%, 91%)
CMYKcmyk(18.5%, 48.3%, 0%, 9%)
CIE-LABlab(61.72, 46.63, -46.40)
CIE-LCHlch(61.72, 65.78, 315.14°)
OKLaboklab(68.93% 0.1128 -0.1294)
OKLCHoklch(68.93% 0.172 311.1)
XYZxyz(42.2656, 30.0787, 79.9075)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78E8 #A3E878
analogous
#8578E8 #BD78E8 #E878DB
triadic
#BD78E8 #E8BD78 #78E8BD
tetradic
#BD78E8 #E88578 #A3E878 #78DBE8
square
#BD78E8 #E88578 #A3E878 #78DBE8
split-complementary
#BD78E8 #DBE878 #78E885
monochromatic
#8621C4 #A344DF #BD78E8 #D7ACF1 #F0E1FA

Accessibility & contrast

On white

2.99
#BD78E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#BD78E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78E8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78E8#FFFFFF#000000##000000
##BD78E81.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd78e8;
/* rgb */ color: rgb(189, 120, 232);
/* oklch */ color: oklch(68.9% 0.172 311.1);
Tailwind
colors: {
  custom: {
    50: '#d3a1f0',
    500: '#bd78e8',
    950: '#000000',
  },
}
SCSS
$custom: #bd78e8;
$custom-light: #d3a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78e8",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 276.964,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.17166,
    "h": 311.1
  },
  "luminance": 0.30078
}

Semantic roles & 50–950 ramp

primary
#BD78E8
secondary
#DAEECD
accent
#D3135C
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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