#B378EF#B378EF

#B378EF is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.177 H 305.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B378EF
RGBrgb(179, 120, 239)
HSLhsl(270, 79%, 70%)
HSVhsv(270, 50%, 94%)
CMYKcmyk(25.1%, 49.8%, 0%, 6.3%)
CIE-LABlab(61.00, 45.53, -51.49)
CIE-LCHlch(61.00, 68.74, 311.49°)
OKLaboklab(68.27% 0.1015 -0.1445)
OKLCHoklch(68.27% 0.177 305.1)
XYZxyz(40.8836, 29.2489, 85.1364)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378EF #B4EF78
analogous
#7878EF #B378EF #EF78EF
triadic
#B378EF #EFB378 #78EFB3
tetradic
#B378EF #EF7878 #B4EF78 #78EFEF
square
#B378EF #EF7878 #B4EF78 #78EFEF
split-complementary
#B378EF #EFEF78 #78EF78
monochromatic
#7619D4 #9441E9 #B378EF #D2AFF5 #F0E4FC

Accessibility & contrast

On white

3.07
#B378EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B378EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378EF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378EF#FFFFFF#000000##000000
##B378EF1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#A98DA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b378ef;
/* rgb */ color: rgb(179, 120, 239);
/* oklch */ color: oklch(68.3% 0.177 305.1);
Tailwind
colors: {
  custom: {
    50: '#cca0f5',
    500: '#b378ef',
    950: '#000000',
  },
}
SCSS
$custom: #b378ef;
$custom-light: #cca0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b378ef",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 269.748,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68267,
    "c": 0.17658,
    "h": 305.1
  },
  "luminance": 0.29249
}

Semantic roles & 50–950 ramp

primary
#B378EF
secondary
#E2F2D1
accent
#DB0A74
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378EF

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

Preview Lab → · Contrast checker → · Palette generator →

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