#B378ED#B378ED

#B378ED is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.174 H 305.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B378ED
RGBrgb(179, 120, 237)
HSLhsl(270, 76%, 70%)
HSVhsv(270, 49%, 93%)
CMYKcmyk(24.5%, 49.4%, 0%, 7.1%)
CIE-LABlab(60.90, 45.07, -50.55)
CIE-LCHlch(60.90, 67.73, 311.72°)
OKLaboklab(68.16% 0.1013 -0.1417)
OKLCHoklch(68.16% 0.174 305.6)
XYZxyz(40.5897, 29.1313, 83.5889)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378ED #B2ED78
analogous
#7878ED #B378ED #ED78ED
triadic
#B378ED #EDB378 #78EDB3
tetradic
#B378ED #ED7878 #B2ED78 #78EDED
square
#B378ED #ED7878 #B2ED78 #78EDED
split-complementary
#B378ED #EDED78 #78ED78
monochromatic
#761CCF #9542E6 #B378ED #D1AEF4 #F0E4FB

Accessibility & contrast

On white

3.08
#B378ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B378ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378ED
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378ED#FFFFFF#000000##000000
##B378ED1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#AA8DA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b378ed;
/* rgb */ color: rgb(179, 120, 237);
/* oklch */ color: oklch(68.2% 0.174 305.6);
Tailwind
colors: {
  custom: {
    50: '#cca0f3',
    500: '#b378ed',
    950: '#000000',
  },
}
SCSS
$custom: #b378ed;
$custom-light: #cca0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b378ed",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 270.256,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.17422,
    "h": 305.6
  },
  "luminance": 0.29131
}

Semantic roles & 50–950 ramp

primary
#B378ED
secondary
#E0F1D0
accent
#D90D72
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378ED

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

Preview Lab → · Contrast checker → · Palette generator →

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