#BD78F6#BD78F6

#BD78F6 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.188 H 307.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#BD78F6
RGBrgb(189, 120, 246)
HSLhsl(273, 88%, 72%)
HSVhsv(273, 51%, 96%)
CMYKcmyk(23.2%, 51.2%, 0%, 3.5%)
CIE-LABlab(62.43, 49.71, -53.03)
CIE-LCHlch(62.43, 72.69, 313.15°)
OKLaboklab(69.68% 0.1142 -0.1487)
OKLCHoklch(69.68% 0.188 307.5)
XYZxyz(44.3340, 30.9061, 90.8008)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78F6 #B1F678
analogous
#7E78F6 #BD78F6 #F678F0
triadic
#BD78F6 #F6BD78 #78F6BD
tetradic
#BD78F6 #F67E78 #B1F678 #78F0F6
square
#BD78F6 #F67E78 #B1F678 #78F0F6
split-complementary
#BD78F6 #F0F678 #78F67E
monochromatic
#840FE4 #A13FF2 #BD78F6 #D9B1FA #F1E2FD

Accessibility & contrast

On white

2.92
#BD78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#BD78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78F6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78F6#FFFFFF#000000##000000
##BD78F61.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#B58EAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bd78f6;
/* rgb */ color: rgb(189, 120, 246);
/* oklch */ color: oklch(69.7% 0.188 307.5);
Tailwind
colors: {
  custom: {
    50: '#d4a1fa',
    500: '#bd78f6',
    950: '#000000',
  },
}
SCSS
$custom: #bd78f6;
$custom-light: #d4a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78f6",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 272.857,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.18751,
    "h": 307.5
  },
  "luminance": 0.30906
}

Semantic roles & 50–950 ramp

primary
#BD78F6
secondary
#E3F5D5
accent
#E40168
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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