#B378EE#B378EE

#B378EE is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.175 H 305.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B378EE
RGBrgb(179, 120, 238)
HSLhsl(270, 78%, 70%)
HSVhsv(270, 50%, 93%)
CMYKcmyk(24.8%, 49.6%, 0%, 6.7%)
CIE-LABlab(60.95, 45.30, -51.02)
CIE-LCHlch(60.95, 68.23, 311.60°)
OKLaboklab(68.21% 0.1014 -0.1431)
OKLCHoklch(68.21% 0.175 305.3)
XYZxyz(40.7362, 29.1899, 84.3605)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378EE #B3EE78
analogous
#7878EE #B378EE #EE78EE
triadic
#B378EE #EEB378 #78EEB3
tetradic
#B378EE #EE7878 #B3EE78 #78EEEE
square
#B378EE #EE7878 #B3EE78 #78EEEE
split-complementary
#B378EE #EEEE78 #78EE78
monochromatic
#761AD1 #9442E7 #B378EE #D2AEF5 #F0E4FC

Accessibility & contrast

On white

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

On black

6.84
#B378EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378EE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378EE#FFFFFF#000000##000000
##B378EE1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#A98DA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b378ee;
/* rgb */ color: rgb(179, 120, 238);
/* oklch */ color: oklch(68.2% 0.175 305.3);
Tailwind
colors: {
  custom: {
    50: '#cca0f4',
    500: '#b378ee',
    950: '#000000',
  },
}
SCSS
$custom: #b378ee;
$custom-light: #cca0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b378ee",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68212,
    "c": 0.17539,
    "h": 305.3
  },
  "luminance": 0.2919
}

Semantic roles & 50–950 ramp

primary
#B378EE
secondary
#E1F1D1
accent
#DA0C73
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378EE

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

Preview Lab → · Contrast checker → · Palette generator →

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