#B778ED#B778ED

#B778ED is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.175 H 307.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B778ED
RGBrgb(183, 120, 237)
HSLhsl(272, 76%, 70%)
HSVhsv(272, 49%, 93%)
CMYKcmyk(22.8%, 49.4%, 0%, 7.1%)
CIE-LABlab(61.32, 46.13, -49.85)
CIE-LCHlch(61.32, 67.92, 312.78°)
OKLaboklab(68.57% 0.1061 -0.1396)
OKLCHoklch(68.57% 0.175 307.2)
XYZxyz(41.5279, 29.6151, 83.6329)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778ED #AEED78
analogous
#7D78ED #B778ED #ED78E8
triadic
#B778ED #EDB778 #78EDB7
tetradic
#B778ED #ED7D78 #AEED78 #78E8ED
square
#B778ED #ED7D78 #AEED78 #78E8ED
split-complementary
#B778ED #E8ED78 #78ED7D
monochromatic
#7C1CCF #9A42E6 #B778ED #D4AEF4 #F1E4FB

Accessibility & contrast

On white

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

On black

6.92
#B778ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778ED
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778ED#FFFFFF#000000##000000
##B778ED1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b778ed;
/* rgb */ color: rgb(183, 120, 237);
/* oklch */ color: oklch(68.6% 0.175 307.2);
Tailwind
colors: {
  custom: {
    50: '#cfa0f3',
    500: '#b778ed',
    950: '#000000',
  },
}
SCSS
$custom: #b778ed;
$custom-light: #cfa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b778ed",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 272.308,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.68567,
    "c": 0.17537,
    "h": 307.2
  },
  "luminance": 0.29615
}

Semantic roles & 50–950 ramp

primary
#B778ED
secondary
#DFF1D0
accent
#D90D6B
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B778ED

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

Preview Lab → · Contrast checker → · Palette generator →

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