#B378EB#B378EB

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

Color values

HEX#B378EB
RGBrgb(179, 120, 235)
HSLhsl(271, 74%, 70%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.8%, 48.9%, 0%, 7.8%)
CIE-LABlab(60.80, 44.61, -49.60)
CIE-LCHlch(60.80, 66.71, 311.97°)
OKLaboklab(68.05% 0.1011 -0.139)
OKLCHoklch(68.05% 0.172 306)
XYZxyz(40.2992, 29.0151, 82.0586)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378EB #B0EB78
analogous
#7A78EB #B378EB #EB78E9
triadic
#B378EB #EBB378 #78EBB3
tetradic
#B378EB #EB7A78 #B0EB78 #78E9EB
square
#B378EB #EB7A78 #B0EB78 #78E9EB
split-complementary
#B378EB #E9EB78 #78EB7A
monochromatic
#771ECB #9543E3 #B378EB #D1ADF3 #EFE3FB

Accessibility & contrast

On white

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

On black

6.80
#B378EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378EB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378EB#FFFFFF#000000##000000
##B378EB1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#AA8CA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b378eb;
/* rgb */ color: rgb(179, 120, 235);
/* oklch */ color: oklch(68.0% 0.172 306.0);
Tailwind
colors: {
  custom: {
    50: '#cca0f2',
    500: '#b378eb',
    950: '#000000',
  },
}
SCSS
$custom: #b378eb;
$custom-light: #cca0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b378eb",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 270.783,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.17185,
    "h": 306
  },
  "luminance": 0.29015
}

Semantic roles & 50–950 ramp

primary
#B378EB
secondary
#DFF0CF
accent
#D60F70
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378EB

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

Preview Lab → · Contrast checker → · Palette generator →

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