#B377EF#B377EF

#B377EF is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.178 H 305.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B377EF
RGBrgb(179, 119, 239)
HSLhsl(270, 79%, 70%)
HSVhsv(270, 50%, 94%)
CMYKcmyk(25.1%, 50.2%, 0%, 6.3%)
CIE-LABlab(60.79, 46.07, -51.83)
CIE-LCHlch(60.79, 69.35, 311.64°)
OKLaboklab(68.11% 0.1028 -0.1455)
OKLCHoklch(68.11% 0.178 305.3)
XYZxyz(40.7639, 29.0096, 85.0965)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B377EF #B3EF77
analogous
#7777EF #B377EF #EF77EF
triadic
#B377EF #EFB377 #77EFB3
tetradic
#B377EF #EF7777 #B3EF77 #77EFEF
square
#B377EF #EF7777 #B3EF77 #77EFEF
split-complementary
#B377EF #EFEF77 #77EF77
monochromatic
#7619D3 #9440E9 #B377EF #D2AEF5 #F0E4FC

Accessibility & contrast

On white

3.09
#B377EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B377EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B377EF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B377EF#FFFFFF#000000##000000
##B377EF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#A98CA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b377ef;
/* rgb */ color: rgb(179, 119, 239);
/* oklch */ color: oklch(68.1% 0.178 305.3);
Tailwind
colors: {
  custom: {
    50: '#cca0f5',
    500: '#b377ef',
    950: '#000000',
  },
}
SCSS
$custom: #b377ef;
$custom-light: #cca0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b377ef",
  "rgb": {
    "r": 179,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 270,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.17812,
    "h": 305.3
  },
  "luminance": 0.29009
}

Semantic roles & 50–950 ramp

primary
#B377EF
secondary
#E1F2D0
accent
#DB0A73
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B377EF

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

Preview Lab → · Contrast checker → · Palette generator →

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