#B378EA#B378EA

#B378EA is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.171 H 306.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B378EA
RGBrgb(179, 120, 234)
HSLhsl(271, 73%, 69%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(60.74, 44.38, -49.13)
CIE-LCHlch(60.74, 66.21, 312.10°)
OKLaboklab(67.99% 0.101 -0.1376)
OKLCHoklch(67.99% 0.171 306.3)
XYZxyz(40.1551, 28.9575, 81.2999)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378EA #AFEA78
analogous
#7A78EA #B378EA #EA78E8
triadic
#B378EA #EAB378 #78EAB3
tetradic
#B378EA #EA7A78 #AFEA78 #78E8EA
square
#B378EA #EA7A78 #AFEA78 #78E8EA
split-complementary
#B378EA #E8EA78 #78EA7A
monochromatic
#771FC8 #9543E2 #B378EA #D1ADF2 #EFE2FA

Accessibility & contrast

On white

3.09
#B378EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B378EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378EA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378EA#FFFFFF#000000##000000
##B378EA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#AA8CA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b378ea;
/* rgb */ color: rgb(179, 120, 234);
/* oklch */ color: oklch(68.0% 0.171 306.3);
Tailwind
colors: {
  custom: {
    50: '#cca0f1',
    500: '#b378ea',
    950: '#000000',
  },
}
SCSS
$custom: #b378ea;
$custom-light: #cca0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b378ea",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 271.053,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67993,
    "c": 0.17068,
    "h": 306.3
  },
  "luminance": 0.28957
}

Semantic roles & 50–950 ramp

primary
#B378EA
secondary
#DEEFCE
accent
#D5106F
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378EA

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

Preview Lab → · Contrast checker → · Palette generator →

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