#B078F9#B078F9

#B078F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.188 H 301.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B078F9
RGBrgb(176, 120, 249)
HSLhsl(266, 91%, 72%)
HSVhsv(266, 52%, 98%)
CMYKcmyk(29.3%, 51.8%, 0%, 2.4%)
CIE-LABlab(61.22, 47.12, -56.69)
CIE-LCHlch(61.22, 73.71, 309.74°)
OKLaboklab(68.53% 0.0986 -0.1597)
OKLCHoklch(68.53% 0.188 301.7)
XYZxyz(41.7159, 29.5025, 93.1010)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078F9 #C1F978
analogous
#7880F9 #B078F9 #F178F9
triadic
#B078F9 #F9B078 #78F9B0
tetradic
#B078F9 #F97880 #C1F978 #78F9F1
square
#B078F9 #F97880 #C1F978 #78F9F1
split-complementary
#B078F9 #F9F178 #80F978
monochromatic
#6C0AEC #8E3DF6 #B078F9 #D2B3FC #EEE2FE

Accessibility & contrast

On white

3.04
#B078F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B078F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078F9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078F9#FFFFFF#000000##000000
##B078F91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b078f9;
/* rgb */ color: rgb(176, 120, 249);
/* oklch */ color: oklch(68.5% 0.188 301.7);
Tailwind
colors: {
  custom: {
    50: '#cba0fc',
    500: '#b078f9',
    950: '#000000',
  },
}
SCSS
$custom: #b078f9;
$custom-light: #cba0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b078f9",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 266.047,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68533,
    "c": 0.18775,
    "h": 301.7
  },
  "luminance": 0.29503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B078F9

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

Preview Lab → · Contrast checker → · Palette generator →

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