#B778EE#B778EE

#B778EE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.177 H 307.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B778EE
RGBrgb(183, 120, 238)
HSLhsl(272, 78%, 70%)
HSVhsv(272, 50%, 93%)
CMYKcmyk(23.1%, 49.6%, 0%, 6.7%)
CIE-LABlab(61.37, 46.35, -50.32)
CIE-LCHlch(61.37, 68.42, 312.65°)
OKLaboklab(68.62% 0.1062 -0.141)
OKLCHoklch(68.62% 0.177 307)
XYZxyz(41.6744, 29.6737, 84.4045)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778EE #AFEE78
analogous
#7C78EE #B778EE #EE78EA
triadic
#B778EE #EEB778 #78EEB7
tetradic
#B778EE #EE7C78 #AFEE78 #78EAEE
square
#B778EE #EE7C78 #AFEE78 #78EAEE
split-complementary
#B778EE #EAEE78 #78EE7C
monochromatic
#7C1AD1 #9A42E7 #B778EE #D4AEF5 #F1E4FC

Accessibility & contrast

On white

3.03
#B778EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#B778EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778EE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778EE#FFFFFF#000000##000000
##B778EE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#AF8CA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b778ee;
/* rgb */ color: rgb(183, 120, 238);
/* oklch */ color: oklch(68.6% 0.177 307.0);
Tailwind
colors: {
  custom: {
    50: '#cfa0f4',
    500: '#b778ee',
    950: '#000000',
  },
}
SCSS
$custom: #b778ee;
$custom-light: #cfa0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b778ee",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 272.034,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68621,
    "c": 0.17653,
    "h": 307
  },
  "luminance": 0.29673
}

Semantic roles & 50–950 ramp

primary
#B778EE
secondary
#E0F1D1
accent
#DA0C6C
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B778EE

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

Preview Lab → · Contrast checker → · Palette generator →

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