#9778DB#9778DB

#9778DB is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.4% C 0.146 H 296.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9778DB
RGBrgb(151, 120, 219)
HSLhsl(259, 58%, 66%)
HSVhsv(259, 45%, 86%)
CMYKcmyk(31.1%, 45.2%, 0%, 14.1%)
CIE-LABlab(57.20, 33.27, -46.54)
CIE-LCHlch(57.20, 57.21, 305.56°)
OKLaboklab(64.45% 0.0652 -0.1307)
OKLCHoklch(64.45% 0.146 296.5)
XYZxyz(32.2620, 25.1263, 70.1542)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778DB #BCDB78
analogous
#788BDB #9778DB #C978DB
triadic
#9778DB #DB9778 #78DB97
tetradic
#9778DB #DB788B #BCDB78 #78DBC9
square
#9778DB #DB788B #BCDB78 #78DBC9
split-complementary
#9778DB #DBC978 #8BDB78
monochromatic
#552EAB #7248CE #9778DB #BCA8E8 #E1D9F5

Accessibility & contrast

On white

3.49
#9778DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9778DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778DB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778DB#FFFFFF#000000##000000
##9778DB1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#888A9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9778db;
/* rgb */ color: rgb(151, 120, 219);
/* oklch */ color: oklch(64.4% 0.146 296.5);
Tailwind
colors: {
  custom: {
    50: '#b89fe6',
    500: '#9778db',
    950: '#000000',
  },
}
SCSS
$custom: #9778db;
$custom-light: #b89fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9778db",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 258.788,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64447,
    "c": 0.14611,
    "h": 296.5
  },
  "luminance": 0.25127
}

Semantic roles & 50–950 ramp

primary
#9778DB
secondary
#DDE7C7
accent
#C52092
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9778DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9778DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva