#B778CA#B778CA

#B778CA is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.8% C 0.135 H 318.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B778CA
RGBrgb(183, 120, 202)
HSLhsl(286, 44%, 63%)
HSVhsv(286, 41%, 79%)
CMYKcmyk(9.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(59.68, 38.58, -32.83)
CIE-LCHlch(59.68, 50.66, 319.60°)
OKLaboklab(66.8% 0.1008 -0.0904)
OKLCHoklch(66.8% 0.135 318.1)
XYZxyz(36.9041, 27.7656, 59.2809)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778CA #8BCA78
analogous
#8E78CA #B778CA #CA78B4
triadic
#B778CA #CAB778 #78CAB7
tetradic
#B778CA #CA8E78 #8BCA78 #78B4CA
square
#B778CA #CA8E78 #8BCA78 #78B4CA
split-complementary
#B778CA #B4CA78 #78CA8E
monochromatic
#7B388F #A04CB9 #B778CA #CEA4DB #E6D0ED

Accessibility & contrast

On white

3.20
#B778CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B778CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778CA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778CA#FFFFFF#000000##000000
##B778CA1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#B78297
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b778ca;
/* rgb */ color: rgb(183, 120, 202);
/* oklch */ color: oklch(66.8% 0.135 318.1);
Tailwind
colors: {
  custom: {
    50: '#cea0da',
    500: '#b778ca',
    950: '#000000',
  },
}
SCSS
$custom: #b778ca;
$custom-light: #cea0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b778ca",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 286.098,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.1354,
    "h": 318.1
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

primary
#B778CA
secondary
#C7DEC0
accent
#B72F4E
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F15
muted
#827E83

Preview Lab

Preview with #B778CA

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

Preview Lab → · Contrast checker → · Palette generator →

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