#B378F9#B378F9

#B378F9 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.188 H 302.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B378F9
RGBrgb(179, 120, 249)
HSLhsl(267, 91%, 72%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.1%, 51.8%, 0%, 2.4%)
CIE-LABlab(61.53, 47.87, -56.18)
CIE-LCHlch(61.53, 73.81, 310.43°)
OKLaboklab(68.83% 0.1023 -0.1582)
OKLCHoklch(68.83% 0.188 302.9)
XYZxyz(42.4019, 29.8562, 93.1331)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378F9 #BEF978
analogous
#787EF9 #B378F9 #F478F9
triadic
#B378F9 #F9B378 #78F9B3
tetradic
#B378F9 #F9787E #BEF978 #78F9F4
square
#B378F9 #F9787E #BEF978 #78F9F4
split-complementary
#B378F9 #F9F478 #7EF978
monochromatic
#720AEC #923DF6 #B378F9 #D4B3FC #EFE2FE

Accessibility & contrast

On white

3.01
#B378F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B378F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378F9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378F9#FFFFFF#000000##000000
##B378F91.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#5E94F6
Tritanopia (blue-blind)
#A690AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b378f9;
/* rgb */ color: rgb(179, 120, 249);
/* oklch */ color: oklch(68.8% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#cda0fc',
    500: '#b378f9',
    950: '#000000',
  },
}
SCSS
$custom: #b378f9;
$custom-light: #cda0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b378f9",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 267.442,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68831,
    "c": 0.18837,
    "h": 302.9
  },
  "luminance": 0.29856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B378F9

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

Preview Lab → · Contrast checker → · Palette generator →

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