#BD78FE#BD78FE

#BD78FE is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.1% C 0.197 H 305.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BD78FE
RGBrgb(189, 120, 254)
HSLhsl(271, 99%, 73%)
HSVhsv(271, 53%, 100%)
CMYKcmyk(25.6%, 52.8%, 0%, 0.4%)
CIE-LABlab(62.85, 51.52, -56.76)
CIE-LCHlch(62.85, 76.65, 312.23°)
OKLaboklab(70.13% 0.1148 -0.1596)
OKLCHoklch(70.13% 0.197 305.7)
XYZxyz(45.5884, 31.4078, 97.4074)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78FE #B9FE78
analogous
#7A78FE #BD78FE #FE78FC
triadic
#BD78FE #FEBD78 #78FEBD
tetradic
#BD78FE #FE7A78 #B9FE78 #78FCFE
square
#BD78FE #FE7A78 #B9FE78 #78FCFE
split-complementary
#BD78FE #FCFE78 #78FE7A
monochromatic
#8202FA #9F3BFE #BD78FE #DBB5FE #F0E1FF

Accessibility & contrast

On white

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

On black

7.28
#BD78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78FE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78FE#FFFFFF#000000##000000
##BD78FE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#B291B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd78fe;
/* rgb */ color: rgb(189, 120, 254);
/* oklch */ color: oklch(70.1% 0.197 305.7);
Tailwind
colors: {
  custom: {
    50: '#d4a1ff',
    500: '#bd78fe',
    950: '#000000',
  },
}
SCSS
$custom: #bd78fe;
$custom-light: #d4a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78fe",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 270.896,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70133,
    "c": 0.19659,
    "h": 305.7
  },
  "luminance": 0.31408
}

Semantic roles & 50–950 ramp

primary
#BD78FE
secondary
#E5F7D4
accent
#E6006F
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #BD78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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