#B778DF#B778DF

#B778DF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.8% C 0.159 H 311.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B778DF
RGBrgb(183, 120, 223)
HSLhsl(277, 62%, 67%)
HSVhsv(277, 46%, 87%)
CMYKcmyk(17.9%, 46.2%, 0%, 12.5%)
CIE-LABlab(60.63, 43.02, -43.15)
CIE-LCHlch(60.63, 60.93, 314.92°)
OKLaboklab(67.83% 0.1044 -0.1201)
OKLCHoklch(67.83% 0.159 311)
XYZxyz(39.5618, 28.8286, 73.2781)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778DF #A0DF78
analogous
#8478DF #B778DF #DF78D4
triadic
#B778DF #DFB778 #78DFB7
tetradic
#B778DF #DF8478 #A0DF78 #78D4DF
square
#B778DF #DF8478 #A0DF78 #78D4DF
split-complementary
#B778DF #D4DF78 #78DF84
monochromatic
#7D2AB2 #9D47D3 #B778DF #D1A9EB #ECDBF6

Accessibility & contrast

On white

3.10
#B778DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B778DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778DF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778DF#FFFFFF#000000##000000
##B778DF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#7293DC
Tritanopia (blue-blind)
#B388A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b778df;
/* rgb */ color: rgb(183, 120, 223);
/* oklch */ color: oklch(67.8% 0.159 311.0);
Tailwind
colors: {
  custom: {
    50: '#cea0e9',
    500: '#b778df',
    950: '#000000',
  },
}
SCSS
$custom: #b778df;
$custom-light: #cea0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b778df",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 276.699,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67828,
    "c": 0.15917,
    "h": 311
  },
  "luminance": 0.28828
}

Semantic roles & 50–950 ramp

primary
#B778DF
secondary
#D6EAC9
accent
#C91C5F
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B778DF

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

Preview Lab → · Contrast checker → · Palette generator →

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