#B378F2#B378F2

#B378F2 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.180 H 304.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B378F2
RGBrgb(179, 120, 242)
HSLhsl(269, 82%, 71%)
HSVhsv(269, 50%, 95%)
CMYKcmyk(26%, 50.4%, 0%, 5.1%)
CIE-LABlab(61.16, 46.23, -52.91)
CIE-LCHlch(61.16, 70.26, 311.15°)
OKLaboklab(68.43% 0.1018 -0.1486)
OKLCHoklch(68.43% 0.18 304.4)
XYZxyz(41.3304, 29.4276, 87.4899)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378F2 #B7F278
analogous
#787AF2 #B378F2 #F078F2
triadic
#B378F2 #F2B378 #78F2B3
tetradic
#B378F2 #F2787A #B7F278 #78F2F0
square
#B378F2 #F2787A #B7F278 #78F2F0
split-complementary
#B378F2 #F2F078 #7AF278
monochromatic
#7515DB #9440ED #B378F2 #D2B0F7 #EFE3FC

Accessibility & contrast

On white

3.05
#B378F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B378F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B378F2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378F2#FFFFFF#000000##000000
##B378F21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#A88EAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b378f2;
/* rgb */ color: rgb(179, 120, 242);
/* oklch */ color: oklch(68.4% 0.180 304.4);
Tailwind
colors: {
  custom: {
    50: '#cca0f7',
    500: '#b378f2',
    950: '#000000',
  },
}
SCSS
$custom: #b378f2;
$custom-light: #cca0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b378f2",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 269.016,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68434,
    "c": 0.18012,
    "h": 304.4
  },
  "luminance": 0.29427
}

Semantic roles & 50–950 ramp

primary
#B378F2
secondary
#E3F3D3
accent
#DF0776
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B378F2

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

Preview Lab → · Contrast checker → · Palette generator →

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