#B078F8#B078F8

#B078F8 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.187 H 301.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B078F8
RGBrgb(176, 120, 248)
HSLhsl(266, 90%, 72%)
HSVhsv(266, 52%, 97%)
CMYKcmyk(29%, 51.6%, 0%, 2.7%)
CIE-LABlab(61.17, 46.88, -56.22)
CIE-LCHlch(61.17, 73.20, 309.82°)
OKLaboklab(68.47% 0.0986 -0.1584)
OKLCHoklch(68.47% 0.187 301.9)
XYZxyz(41.5604, 29.4403, 92.2818)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078F8 #C0F878
analogous
#7880F8 #B078F8 #F078F8
triadic
#B078F8 #F8B078 #78F8B0
tetradic
#B078F8 #F87880 #C0F878 #78F8F0
square
#B078F8 #F87880 #C0F878 #78F8F0
split-complementary
#B078F8 #F8F078 #80F878
monochromatic
#6D0CE9 #8E3EF5 #B078F8 #D2B2FB #EEE2FD

Accessibility & contrast

On white

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

On black

6.89
#B078F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078F8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078F8#FFFFFF#000000##000000
##B078F81.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#A290AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b078f8;
/* rgb */ color: rgb(176, 120, 248);
/* oklch */ color: oklch(68.5% 0.187 301.9);
Tailwind
colors: {
  custom: {
    50: '#cba0fb',
    500: '#b078f8',
    950: '#000000',
  },
}
SCSS
$custom: #b078f8;
$custom-light: #cba0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b078f8",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 266.25,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68475,
    "c": 0.18656,
    "h": 301.9
  },
  "luminance": 0.2944
}

Semantic roles & 50–950 ramp

primary
#B078F8
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B078F8

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

Preview Lab → · Contrast checker → · Palette generator →

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