#B078EB#B078EB

#B078EB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.171 H 304.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B078EB
RGBrgb(176, 120, 235)
HSLhsl(269, 74%, 70%)
HSVhsv(269, 49%, 92%)
CMYKcmyk(25.1%, 48.9%, 0%, 7.8%)
CIE-LABlab(60.48, 43.82, -50.12)
CIE-LCHlch(60.48, 66.57, 311.17°)
OKLaboklab(67.74% 0.0975 -0.1405)
OKLCHoklch(67.74% 0.171 304.7)
XYZxyz(39.6132, 28.6614, 82.0265)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078EB #B3EB78
analogous
#787AEB #B078EB #E978EB
triadic
#B078EB #EBB078 #78EBB0
tetradic
#B078EB #EB787A #B3EB78 #78EBE9
square
#B078EB #EB787A #B3EB78 #78EBE9
split-complementary
#B078EB #EBE978 #7AEB78
monochromatic
#721ECB #9143E3 #B078EB #CFADF3 #EEE3FB

Accessibility & contrast

On white

3.12
#B078EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B078EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078EB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078EB#FFFFFF#000000##000000
##B078EB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#A68CA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b078eb;
/* rgb */ color: rgb(176, 120, 235);
/* oklch */ color: oklch(67.7% 0.171 304.7);
Tailwind
colors: {
  custom: {
    50: '#caa0f2',
    500: '#b078eb',
    950: '#000000',
  },
}
SCSS
$custom: #b078eb;
$custom-light: #caa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b078eb",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 269.217,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67743,
    "c": 0.17104,
    "h": 304.7
  },
  "luminance": 0.28661
}

Semantic roles & 50–950 ramp

primary
#B078EB
secondary
#E0F0CF
accent
#D60F75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #B078EB

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

Preview Lab → · Contrast checker → · Palette generator →

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