#B378DC#B378DC

#B378DC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.154 H 310.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B378DC
RGBrgb(179, 120, 220)
HSLhsl(275, 59%, 67%)
HSVhsv(275, 45%, 86%)
CMYKcmyk(18.6%, 45.5%, 0%, 13.7%)
CIE-LABlab(60.06, 41.24, -42.40)
CIE-LCHlch(60.06, 59.15, 314.20°)
OKLaboklab(67.25% 0.0992 -0.118)
OKLCHoklch(67.25% 0.154 310)
XYZxyz(38.2228, 28.1846, 71.1229)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378DC #A1DC78
analogous
#8178DC #B378DC #DC78D3
triadic
#B378DC #DCB378 #78DCB3
tetradic
#B378DC #DC8178 #A1DC78 #78D3DC
square
#B378DC #DC8178 #A1DC78 #78D3DC
split-complementary
#B378DC #D3DC78 #78DC81
monochromatic
#782DAD #9847CF #B378DC #CEA9E9 #EAD9F5

Accessibility & contrast

On white

3.16
#B378DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B378DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378DC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378DC#FFFFFF#000000##000000
##B378DC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#AE88A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b378dc;
/* rgb */ color: rgb(179, 120, 220);
/* oklch */ color: oklch(67.3% 0.154 310.0);
Tailwind
colors: {
  custom: {
    50: '#cba0e7',
    500: '#b378dc',
    950: '#000000',
  },
}
SCSS
$custom: #b378dc;
$custom-light: #cba0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b378dc",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 275.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67254,
    "c": 0.1542,
    "h": 310
  },
  "luminance": 0.28184
}

Semantic roles & 50–950 ramp

primary
#B378DC
secondary
#D5E8C8
accent
#C61F64
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B378DC

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

Preview Lab → · Contrast checker → · Palette generator →

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