#BD78FF#BD78FF

#BD78FF is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.2% C 0.198 H 305.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BD78FF
RGBrgb(189, 120, 255)
HSLhsl(271, 100%, 74%)
HSVhsv(271, 53%, 100%)
CMYKcmyk(25.9%, 52.9%, 0%, 0%)
CIE-LABlab(62.90, 51.74, -57.23)
CIE-LCHlch(62.90, 77.15, 312.12°)
OKLaboklab(70.19% 0.1148 -0.161)
OKLCHoklch(70.19% 0.198 305.5)
XYZxyz(45.7489, 31.4721, 98.2529)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78FF #BAFF78
analogous
#7978FF #BD78FF #FF78FD
triadic
#BD78FF #FFBD78 #78FFBD
tetradic
#BD78FF #FF7978 #BAFF78 #78FDFF
square
#BD78FF #FF7978 #BAFF78 #78FDFF
split-complementary
#BD78FF #FDFF78 #78FF79
monochromatic
#8100FD #9F3BFF #BD78FF #DBB5FF #F0E0FF

Accessibility & contrast

On white

2.88
#BD78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#BD78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78FF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78FF#FFFFFF#000000##000000
##BD78FF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#B291B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd78ff;
/* rgb */ color: rgb(189, 120, 255);
/* oklch */ color: oklch(70.2% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#d4a1ff',
    500: '#bd78ff',
    950: '#000000',
  },
}
SCSS
$custom: #bd78ff;
$custom-light: #d4a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78ff",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 270.667,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.19772,
    "h": 305.5
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#BD78FF
secondary
#E5F7D4
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #BD78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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