#B378DA#B378DA

#B378DA is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.152 H 310.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B378DA
RGBrgb(179, 120, 218)
HSLhsl(276, 57%, 66%)
HSVhsv(276, 45%, 85%)
CMYKcmyk(17.9%, 45%, 0%, 14.5%)
CIE-LABlab(59.96, 40.80, -41.43)
CIE-LCHlch(59.96, 58.15, 314.56°)
OKLaboklab(67.15% 0.0989 -0.1152)
OKLCHoklch(67.15% 0.152 310.6)
XYZxyz(37.9595, 28.0792, 69.7362)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378DA #9FDA78
analogous
#8278DA #B378DA #DA78D0
triadic
#B378DA #DAB378 #78DAB3
tetradic
#B378DA #DA8278 #9FDA78 #78D0DA
square
#B378DA #DA8278 #9FDA78 #78D0DA
split-complementary
#B378DA #D0DA78 #78DA82
monochromatic
#782EA9 #9848CD #B378DA #CEA8E7 #E9D8F4

Accessibility & contrast

On white

3.17
#B378DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B378DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378DA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378DA#FFFFFF#000000##000000
##B378DA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#7292D7
Tritanopia (blue-blind)
#AF879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b378da;
/* rgb */ color: rgb(179, 120, 218);
/* oklch */ color: oklch(67.2% 0.152 310.6);
Tailwind
colors: {
  custom: {
    50: '#cba0e6',
    500: '#b378da',
    950: '#000000',
  },
}
SCSS
$custom: #b378da;
$custom-light: #cba0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b378da",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 276.122,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.15187,
    "h": 310.6
  },
  "luminance": 0.28079
}

Semantic roles & 50–950 ramp

primary
#B378DA
secondary
#D4E7C7
accent
#C52162
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B378DA

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

Preview Lab → · Contrast checker → · Palette generator →

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