#B078FE#B078FE

#B078FE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.194 H 300.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B078FE
RGBrgb(176, 120, 254)
HSLhsl(265, 99%, 73%)
HSVhsv(265, 53%, 100%)
CMYKcmyk(30.7%, 52.8%, 0%, 0.4%)
CIE-LABlab(61.50, 48.32, -59.00)
CIE-LCHlch(61.50, 76.26, 309.32°)
OKLaboklab(68.83% 0.0989 -0.1665)
OKLCHoklch(68.83% 0.194 300.7)
XYZxyz(42.5062, 29.8186, 97.2629)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078FE #C6FE78
analogous
#7883FE #B078FE #F378FE
triadic
#B078FE #FEB078 #78FEB0
tetradic
#B078FE #FE7883 #C6FE78 #78FEF3
square
#B078FE #FE7883 #C6FE78 #78FEF3
split-complementary
#B078FE #FEF378 #83FE78
monochromatic
#6902FA #8C3BFE #B078FE #D4B5FE #EDE1FF

Accessibility & contrast

On white

3.02
#B078FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B078FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078FE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078FE#FFFFFF#000000##000000
##B078FE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#A092B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b078fe;
/* rgb */ color: rgb(176, 120, 254);
/* oklch */ color: oklch(68.8% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#cba0ff',
    500: '#b078fe',
    950: '#000000',
  },
}
SCSS
$custom: #b078fe;
$custom-light: #cba0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b078fe",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 265.075,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.19369,
    "h": 300.7
  },
  "luminance": 0.29819
}

Semantic roles & 50–950 ramp

primary
#B078FE
secondary
#E8F7D4
accent
#E60086
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B078FE

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

Preview Lab → · Contrast checker → · Palette generator →

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