#B078EA#B078EA

#B078EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.170 H 305.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B078EA
RGBrgb(176, 120, 234)
HSLhsl(269, 73%, 69%)
HSVhsv(269, 49%, 92%)
CMYKcmyk(24.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(60.43, 43.59, -49.64)
CIE-LCHlch(60.43, 66.06, 311.28°)
OKLaboklab(67.69% 0.0974 -0.1392)
OKLCHoklch(67.69% 0.17 305)
XYZxyz(39.4691, 28.6038, 81.2677)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078EA #B2EA78
analogous
#7879EA #B078EA #E978EA
triadic
#B078EA #EAB078 #78EAB0
tetradic
#B078EA #EA7879 #B2EA78 #78EAE9
square
#B078EA #EA7879 #B2EA78 #78EAE9
split-complementary
#B078EA #EAE978 #79EA78
monochromatic
#721FC8 #9143E2 #B078EA #CFADF2 #EEE2FA

Accessibility & contrast

On white

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

On black

6.72
#B078EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078EA#FFFFFF#000000##000000
##B078EA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#A68CA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b078ea;
/* rgb */ color: rgb(176, 120, 234);
/* oklch */ color: oklch(67.7% 0.170 305.0);
Tailwind
colors: {
  custom: {
    50: '#caa0f1',
    500: '#b078ea',
    950: '#000000',
  },
}
SCSS
$custom: #b078ea;
$custom-light: #caa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b078ea",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 269.474,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67688,
    "c": 0.16984,
    "h": 305
  },
  "luminance": 0.28604
}

Semantic roles & 50–950 ramp

primary
#B078EA
secondary
#DFEFCE
accent
#D51074
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #B078EA

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

Preview Lab → · Contrast checker → · Palette generator →

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