#B078FA#B078FA

#B078FA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.189 H 301.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B078FA
RGBrgb(176, 120, 250)
HSLhsl(266, 93%, 73%)
HSVhsv(266, 52%, 98%)
CMYKcmyk(29.6%, 52%, 0%, 2%)
CIE-LABlab(61.28, 47.36, -57.15)
CIE-LCHlch(61.28, 74.22, 309.65°)
OKLaboklab(68.59% 0.0987 -0.1611)
OKLCHoklch(68.59% 0.189 301.5)
XYZxyz(41.8723, 29.5651, 93.9246)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078FA #C2FA78
analogous
#7881FA #B078FA #F178FA
triadic
#B078FA #FAB078 #78FAB0
tetradic
#B078FA #FA7881 #C2FA78 #78FAF1
square
#B078FA #FA7881 #C2FA78 #78FAF1
split-complementary
#B078FA #FAF178 #81FA78
monochromatic
#6C09EF #8D3DF8 #B078FA #D3B3FC #EEE1FE

Accessibility & contrast

On white

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

On black

6.91
#B078FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078FA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078FA#FFFFFF#000000##000000
##B078FA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#A291AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b078fa;
/* rgb */ color: rgb(176, 120, 250);
/* oklch */ color: oklch(68.6% 0.189 301.5);
Tailwind
colors: {
  custom: {
    50: '#cba0fc',
    500: '#b078fa',
    950: '#000000',
  },
}
SCSS
$custom: #b078fa;
$custom-light: #cba0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b078fa",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 265.846,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.18894,
    "h": 301.5
  },
  "luminance": 0.29565
}

Semantic roles & 50–950 ramp

primary
#B078FA
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B078FA

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

Preview Lab → · Contrast checker → · Palette generator →

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