#B378FB#B378FB

#B378FB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.191 H 302.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B378FB
RGBrgb(179, 120, 251)
HSLhsl(267, 94%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.7%, 52.2%, 0%, 1.6%)
CIE-LABlab(61.64, 48.34, -57.11)
CIE-LCHlch(61.64, 74.82, 310.25°)
OKLaboklab(68.95% 0.1024 -0.1609)
OKLCHoklch(68.95% 0.191 302.5)
XYZxyz(42.7155, 29.9817, 94.7847)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378FB #C0FB78
analogous
#787EFB #B378FB #F578FB
triadic
#B378FB #FBB378 #78FBB3
tetradic
#B378FB #FB787E #C0FB78 #78FBF5
square
#B378FB #FB787E #C0FB78 #78FBF5
split-complementary
#B378FB #FBF578 #7EFB78
monochromatic
#7107F1 #923DF9 #B378FB #D4B3FD #EEE1FE

Accessibility & contrast

On white

3.00
#B378FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B378FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B378FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378FB#FFFFFF#000000##000000
##B378FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#A691AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b378fb;
/* rgb */ color: rgb(179, 120, 251);
/* oklch */ color: oklch(68.9% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#cda0fd',
    500: '#b378fb',
    950: '#000000',
  },
}
SCSS
$custom: #b378fb;
$custom-light: #cda0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b378fb",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 267.023,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68946,
    "c": 0.19073,
    "h": 302.5
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#B378FB
secondary
#E7F6D5
accent
#E6007E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B378FB

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

Preview Lab → · Contrast checker → · Palette generator →

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