#B378FA#B378FA

#B378FA is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.190 H 302.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B378FA
RGBrgb(179, 120, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.4%, 52%, 0%, 2%)
CIE-LABlab(61.58, 48.10, -56.64)
CIE-LCHlch(61.58, 74.31, 310.34°)
OKLaboklab(68.89% 0.1024 -0.1595)
OKLCHoklch(68.89% 0.19 302.7)
XYZxyz(42.5583, 29.9188, 93.9568)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378FA #BFFA78
analogous
#787EFA #B378FA #F478FA
triadic
#B378FA #FAB378 #78FAB3
tetradic
#B378FA #FA787E #BFFA78 #78FAF4
square
#B378FA #FA787E #BFFA78 #78FAF4
split-complementary
#B378FA #FAF478 #7EFA78
monochromatic
#7109EF #923DF8 #B378FA #D4B3FC #EEE1FE

Accessibility & contrast

On white

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

On black

6.98
#B378FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378FA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378FA#FFFFFF#000000##000000
##B378FA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#A690AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b378fa;
/* rgb */ color: rgb(179, 120, 250);
/* oklch */ color: oklch(68.9% 0.190 302.7);
Tailwind
colors: {
  custom: {
    50: '#cda0fc',
    500: '#b378fa',
    950: '#000000',
  },
}
SCSS
$custom: #b378fa;
$custom-light: #cda0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b378fa",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 267.231,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68889,
    "c": 0.18955,
    "h": 302.7
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B378FA

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

Preview Lab → · Contrast checker → · Palette generator →

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