#9778FD#9778FD

#9778FD is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.190 H 291.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9778FD
RGBrgb(151, 120, 253)
HSLhsl(254, 97%, 73%)
HSVhsv(254, 53%, 99%)
CMYKcmyk(40.3%, 52.6%, 0%, 0.8%)
CIE-LABlab(59.07, 42.18, -62.47)
CIE-LCHlch(59.07, 75.37, 304.03°)
OKLaboklab(66.45% 0.0683 -0.1774)
OKLCHoklch(66.45% 0.19 291.1)
XYZxyz(37.2037, 27.1030, 96.1807)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778FD #DEFD78
analogous
#789BFD #9778FD #D978FD
triadic
#9778FD #FD9778 #78FD97
tetradic
#9778FD #FD789B #DEFD78 #78FDD9
square
#9778FD #FD789B #DEFD78 #78FDD9
split-complementary
#9778FD #FDD978 #9BFD78
monochromatic
#3C04F7 #693CFC #9778FD #C5B4FE #E8E1FF

Accessibility & contrast

On white

3.27
#9778FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9778FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778FD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778FD#FFFFFF#000000##000000
##9778FD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#7B94AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9778fd;
/* rgb */ color: rgb(151, 120, 253);
/* oklch */ color: oklch(66.5% 0.190 291.1);
Tailwind
colors: {
  custom: {
    50: '#bba0ff',
    500: '#9778fd',
    950: '#000000',
  },
}
SCSS
$custom: #9778fd;
$custom-light: #bba0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9778fd",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 253.985,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.19009,
    "h": 291.1
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#9778FD
secondary
#EFF7D4
accent
#E600B0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9778FD

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

Preview Lab → · Contrast checker → · Palette generator →

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