#BD78F2#BD78F2

#BD78F2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.183 H 308.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BD78F2
RGBrgb(189, 120, 242)
HSLhsl(274, 82%, 71%)
HSVhsv(274, 50%, 95%)
CMYKcmyk(21.9%, 50.4%, 0%, 5.1%)
CIE-LABlab(62.22, 48.82, -51.15)
CIE-LCHlch(62.22, 70.71, 313.67°)
OKLaboklab(69.46% 0.1139 -0.1432)
OKLCHoklch(69.46% 0.183 308.5)
XYZxyz(43.7266, 30.6632, 87.6022)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD78F2 #ADF278
analogous
#8078F2 #BD78F2 #F278EA
triadic
#BD78F2 #F2BD78 #78F2BD
tetradic
#BD78F2 #F28078 #ADF278 #78EAF2
square
#BD78F2 #F28078 #ADF278 #78EAF2
split-complementary
#BD78F2 #EAF278 #78F280
monochromatic
#8515DB #A240ED #BD78F2 #D8B0F7 #F1E3FC

Accessibility & contrast

On white

2.94
#BD78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BD78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD78F2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD78F2#FFFFFF#000000##000000
##BD78F21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#B68DAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bd78f2;
/* rgb */ color: rgb(189, 120, 242);
/* oklch */ color: oklch(69.5% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#d3a1f7',
    500: '#bd78f2',
    950: '#000000',
  },
}
SCSS
$custom: #bd78f2;
$custom-light: #d3a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd78f2",
  "rgb": {
    "r": 189,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 273.934,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69464,
    "c": 0.18297,
    "h": 308.5
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

primary
#BD78F2
secondary
#E1F3D3
accent
#DF0765
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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