#B378F8#B378F8

#B378F8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.187 H 303.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B378F8
RGBrgb(179, 120, 248)
HSLhsl(268, 90%, 72%)
HSVhsv(268, 52%, 97%)
CMYKcmyk(27.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(61.48, 47.63, -55.71)
CIE-LCHlch(61.48, 73.30, 310.53°)
OKLaboklab(68.77% 0.1022 -0.1568)
OKLCHoklch(68.77% 0.187 303.1)
XYZxyz(42.2464, 29.7940, 92.3139)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378F8 #BDF878
analogous
#787DF8 #B378F8 #F378F8
triadic
#B378F8 #F8B378 #78F8B3
tetradic
#B378F8 #F8787D #BDF878 #78F8F3
square
#B378F8 #F8787D #BDF878 #78F8F3
split-complementary
#B378F8 #F8F378 #7DF878
monochromatic
#720CE9 #923EF5 #B378F8 #D4B2FB #EFE2FD

Accessibility & contrast

On white

3.02
#B378F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B378F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378F8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378F8#FFFFFF#000000##000000
##B378F81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#A690AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b378f8;
/* rgb */ color: rgb(179, 120, 248);
/* oklch */ color: oklch(68.8% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#cda0fb',
    500: '#b378f8',
    950: '#000000',
  },
}
SCSS
$custom: #b378f8;
$custom-light: #cda0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b378f8",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 267.656,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.1872,
    "h": 303.1
  },
  "luminance": 0.29794
}

Semantic roles & 50–950 ramp

primary
#B378F8
secondary
#E7F6D5
accent
#E6007C
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378F8

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

Preview Lab → · Contrast checker → · Palette generator →

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