#B378FE#B378FE

#B378FE is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.194 H 301.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B378FE
RGBrgb(179, 120, 254)
HSLhsl(266, 99%, 73%)
HSVhsv(266, 53%, 100%)
CMYKcmyk(29.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(61.80, 49.05, -58.49)
CIE-LCHlch(61.80, 76.34, 309.98°)
OKLaboklab(69.12% 0.1026 -0.165)
OKLCHoklch(69.12% 0.194 301.9)
XYZxyz(43.1922, 30.1723, 97.2951)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378FE #C3FE78
analogous
#7880FE #B378FE #F678FE
triadic
#B378FE #FEB378 #78FEB3
tetradic
#B378FE #FE7880 #C3FE78 #78FEF6
square
#B378FE #FE7880 #C3FE78 #78FEF6
split-complementary
#B378FE #FEF678 #80FE78
monochromatic
#6F02FA #913BFE #B378FE #D5B5FE #EEE1FF

Accessibility & contrast

On white

2.99
#B378FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B378FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B378FE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378FE#FFFFFF#000000##000000
##B378FE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#A592B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b378fe;
/* rgb */ color: rgb(179, 120, 254);
/* oklch */ color: oklch(69.1% 0.194 301.9);
Tailwind
colors: {
  custom: {
    50: '#cda1ff',
    500: '#b378fe',
    950: '#000000',
  },
}
SCSS
$custom: #b378fe;
$custom-light: #cda1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b378fe",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 266.418,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69121,
    "c": 0.19426,
    "h": 301.9
  },
  "luminance": 0.30172
}

Semantic roles & 50–950 ramp

primary
#B378FE
secondary
#E8F7D4
accent
#E60080
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B378FE

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

Preview Lab → · Contrast checker → · Palette generator →

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