#9778EA#9778EA

#9778EA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.3% C 0.166 H 293.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9778EA
RGBrgb(151, 120, 234)
HSLhsl(256, 73%, 69%)
HSVhsv(256, 49%, 92%)
CMYKcmyk(35.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(57.99, 37.14, -53.67)
CIE-LCHlch(57.99, 65.27, 304.68°)
OKLaboklab(65.3% 0.067 -0.1516)
OKLCHoklch(65.3% 0.166 293.8)
XYZxyz(34.3264, 25.9521, 81.0267)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778EA #CBEA78
analogous
#7892EA #9778EA #D078EA
triadic
#9778EA #EA9778 #78EA97
tetradic
#9778EA #EA7892 #CBEA78 #78EAD0
square
#9778EA #EA7892 #CBEA78 #78EAD0
split-complementary
#9778EA #EAD078 #92EA78
monochromatic
#4D1FC8 #6E43E2 #9778EA #C0ADF2 #E9E2FA

Accessibility & contrast

On white

3.39
#9778EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9778EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778EA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778EA#FFFFFF#000000##000000
##9778EA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#5489E7
Tritanopia (blue-blind)
#838EA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9778ea;
/* rgb */ color: rgb(151, 120, 234);
/* oklch */ color: oklch(65.3% 0.166 293.8);
Tailwind
colors: {
  custom: {
    50: '#b99ff1',
    500: '#9778ea',
    950: '#000000',
  },
}
SCSS
$custom: #9778ea;
$custom-light: #b99ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9778ea",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 256.316,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.653,
    "c": 0.16572,
    "h": 293.8
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#9778EA
secondary
#E6EFCE
accent
#D510A0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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