#B778DA#B778DA

#B778DA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.153 H 312.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B778DA
RGBrgb(183, 120, 218)
HSLhsl(279, 57%, 66%)
HSVhsv(279, 45%, 85%)
CMYKcmyk(16.1%, 45%, 0%, 14.5%)
CIE-LABlab(60.39, 41.94, -40.72)
CIE-LCHlch(60.39, 58.45, 315.84°)
OKLaboklab(67.57% 0.1037 -0.1131)
OKLCHoklch(67.57% 0.153 312.5)
XYZxyz(38.8976, 28.5630, 69.7802)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778DA #9BDA78
analogous
#8678DA #B778DA #DA78CC
triadic
#B778DA #DAB778 #78DAB7
tetradic
#B778DA #DA8678 #9BDA78 #78CCDA
square
#B778DA #DA8678 #9BDA78 #78CCDA
split-complementary
#B778DA #CCDA78 #78DA86
monochromatic
#7D2EA9 #9D48CD #B778DA #D1A8E7 #EAD8F4

Accessibility & contrast

On white

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

On black

6.71
#B778DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778DA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778DA#FFFFFF#000000##000000
##B778DA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDD
Deuteranopia (green-blind)
#7493D7
Tritanopia (blue-blind)
#B4879F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b778da;
/* rgb */ color: rgb(183, 120, 218);
/* oklch */ color: oklch(67.6% 0.153 312.5);
Tailwind
colors: {
  custom: {
    50: '#cea0e6',
    500: '#b778da',
    950: '#000000',
  },
}
SCSS
$custom: #b778da;
$custom-light: #cea0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b778da",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 278.571,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67574,
    "c": 0.15344,
    "h": 312.5
  },
  "luminance": 0.28562
}

Semantic roles & 50–950 ramp

primary
#B778DA
secondary
#D2E7C7
accent
#C5215B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B778DA

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

Preview Lab → · Contrast checker → · Palette generator →

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