#B078F7#B078F7

#B078F7 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.185 H 302.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B078F7
RGBrgb(176, 120, 247)
HSLhsl(266, 89%, 72%)
HSVhsv(266, 51%, 97%)
CMYKcmyk(28.7%, 51.4%, 0%, 3.1%)
CIE-LABlab(61.11, 46.64, -55.76)
CIE-LCHlch(61.11, 72.69, 309.92°)
OKLaboklab(68.42% 0.0985 -0.157)
OKLCHoklch(68.42% 0.185 302.1)
XYZxyz(41.4057, 29.3784, 91.4669)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078F7 #BFF778
analogous
#7880F7 #B078F7 #F078F7
triadic
#B078F7 #F7B078 #78F7B0
tetradic
#B078F7 #F77880 #BFF778 #78F7F0
square
#B078F7 #F77880 #BFF778 #78F7F0
split-complementary
#B078F7 #F7F078 #80F778
monochromatic
#6D0EE7 #8E3EF4 #B078F7 #D2B2FA #EEE2FD

Accessibility & contrast

On white

3.05
#B078F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B078F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078F7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078F7#FFFFFF#000000##000000
##B078F71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#A390AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b078f7;
/* rgb */ color: rgb(176, 120, 247);
/* oklch */ color: oklch(68.4% 0.185 302.1);
Tailwind
colors: {
  custom: {
    50: '#cba0fa',
    500: '#b078f7',
    950: '#000000',
  },
}
SCSS
$custom: #b078f7;
$custom-light: #cba0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b078f7",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 266.457,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68418,
    "c": 0.18537,
    "h": 302.1
  },
  "luminance": 0.29378
}

Semantic roles & 50–950 ramp

primary
#B078F7
secondary
#E7F5D5
accent
#E50080
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B078F7

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

Preview Lab → · Contrast checker → · Palette generator →

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