#B378E2#B378E2

#B378E2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.161 H 308.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B378E2
RGBrgb(179, 120, 226)
HSLhsl(273, 65%, 68%)
HSVhsv(273, 47%, 89%)
CMYKcmyk(20.8%, 46.9%, 0%, 11.4%)
CIE-LABlab(60.34, 42.57, -45.30)
CIE-LCHlch(60.34, 62.17, 313.22°)
OKLaboklab(67.57% 0.1001 -0.1265)
OKLCHoklch(67.57% 0.161 308.3)
XYZxyz(39.0317, 28.5081, 75.3832)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378E2 #A7E278
analogous
#7E78E2 #B378E2 #E278DC
triadic
#B378E2 #E2B378 #78E2B3
tetradic
#B378E2 #E27E78 #A7E278 #78DCE2
square
#B378E2 #E27E78 #A7E278 #78DCE2
split-complementary
#B378E2 #DCE278 #78E27E
monochromatic
#7828B8 #9746D7 #B378E2 #CFAAED #ECDDF8

Accessibility & contrast

On white

3.13
#B378E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B378E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378E2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378E2#FFFFFF#000000##000000
##B378E21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#6D92DF
Tritanopia (blue-blind)
#AD89A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b378e2;
/* rgb */ color: rgb(179, 120, 226);
/* oklch */ color: oklch(67.6% 0.161 308.3);
Tailwind
colors: {
  custom: {
    50: '#cca0eb',
    500: '#b378e2',
    950: '#000000',
  },
}
SCSS
$custom: #b378e2;
$custom-light: #cca0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b378e2",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 273.396,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.16125,
    "h": 308.3
  },
  "luminance": 0.28508
}

Semantic roles & 50–950 ramp

primary
#B378E2
secondary
#D9EBCB
accent
#CC1969
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B378E2

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

Preview Lab → · Contrast checker → · Palette generator →

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