#B378EC#B378EC

#B378EC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.173 H 305.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B378EC
RGBrgb(179, 120, 236)
HSLhsl(271, 75%, 70%)
HSVhsv(271, 49%, 93%)
CMYKcmyk(24.2%, 49.2%, 0%, 7.5%)
CIE-LABlab(60.85, 44.84, -50.07)
CIE-LCHlch(60.85, 67.22, 311.84°)
OKLaboklab(68.1% 0.1012 -0.1403)
OKLCHoklch(68.1% 0.173 305.8)
XYZxyz(40.4440, 29.0731, 82.8216)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378EC #B1EC78
analogous
#7978EC #B378EC #EC78EB
triadic
#B378EC #ECB378 #78ECB3
tetradic
#B378EC #EC7978 #B1EC78 #78EBEC
square
#B378EC #EC7978 #B1EC78 #78EBEC
split-complementary
#B378EC #EBEC78 #78EC79
monochromatic
#761DCD #9542E4 #B378EC #D1AEF4 #EFE3FB

Accessibility & contrast

On white

3.08
#B378EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B378EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378EC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378EC#FFFFFF#000000##000000
##B378EC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#AA8CA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b378ec;
/* rgb */ color: rgb(179, 120, 236);
/* oklch */ color: oklch(68.1% 0.173 305.8);
Tailwind
colors: {
  custom: {
    50: '#cca0f2',
    500: '#b378ec',
    950: '#000000',
  },
}
SCSS
$custom: #b378ec;
$custom-light: #cca0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b378ec",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 270.517,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.17304,
    "h": 305.8
  },
  "luminance": 0.29073
}

Semantic roles & 50–950 ramp

primary
#B378EC
secondary
#E0F0D0
accent
#D70E71
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378EC

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

Preview Lab → · Contrast checker → · Palette generator →

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