#B778EB#B778EB

#B778EB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.173 H 307.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B778EB
RGBrgb(183, 120, 235)
HSLhsl(273, 74%, 70%)
HSVhsv(273, 49%, 92%)
CMYKcmyk(22.1%, 48.9%, 0%, 7.8%)
CIE-LABlab(61.22, 45.68, -48.90)
CIE-LCHlch(61.22, 66.92, 313.05°)
OKLaboklab(68.46% 0.1059 -0.1368)
OKLCHoklch(68.46% 0.173 307.7)
XYZxyz(41.2373, 29.4989, 82.1026)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778EB #ACEB78
analogous
#7E78EB #B778EB #EB78E5
triadic
#B778EB #EBB778 #78EBB7
tetradic
#B778EB #EB7E78 #ACEB78 #78E5EB
square
#B778EB #EB7E78 #ACEB78 #78E5EB
split-complementary
#B778EB #E5EB78 #78EB7E
monochromatic
#7D1ECB #9B43E3 #B778EB #D3ADF3 #F0E3FB

Accessibility & contrast

On white

3.04
#B778EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B778EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778EB#FFFFFF#000000##000000
##B778EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6B94E8
Tritanopia (blue-blind)
#B08CA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b778eb;
/* rgb */ color: rgb(183, 120, 235);
/* oklch */ color: oklch(68.5% 0.173 307.7);
Tailwind
colors: {
  custom: {
    50: '#cfa0f2',
    500: '#b778eb',
    950: '#000000',
  },
}
SCSS
$custom: #b778eb;
$custom-light: #cfa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b778eb",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 272.87,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.17304,
    "h": 307.7
  },
  "luminance": 0.29498
}

Semantic roles & 50–950 ramp

primary
#B778EB
secondary
#DEF0CF
accent
#D60F69
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B778EB

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

Preview Lab → · Contrast checker → · Palette generator →

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