#9778CE#9778CE

#9778CE is a light, vivid violet. Relative luminance 0.245; OKLCH L 63.8% C 0.129 H 299.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9778CE
RGBrgb(151, 120, 206)
HSLhsl(262, 47%, 64%)
HSVhsv(262, 42%, 81%)
CMYKcmyk(26.7%, 41.7%, 0%, 19.2%)
CIE-LABlab(56.55, 30.02, -40.22)
CIE-LCHlch(56.55, 50.19, 306.74°)
OKLaboklab(63.75% 0.0632 -0.1124)
OKLCHoklch(63.75% 0.129 299.3)
XYZxyz(30.6170, 24.4683, 61.4904)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778CE #AFCE78
analogous
#7884CE #9778CE #C278CE
triadic
#9778CE #CE9778 #78CE97
tetradic
#9778CE #CE7884 #AFCE78 #78CEC2
square
#9778CE #CE7884 #AFCE78 #78CEC2
split-complementary
#9778CE #CEC278 #84CE78
monochromatic
#593695 #744BBE #9778CE #BAA5DE #DCD2EF

Accessibility & contrast

On white

3.56
#9778CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9778CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778CE#FFFFFF#000000##000000
##9778CE1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#8C8799
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9778ce;
/* rgb */ color: rgb(151, 120, 206);
/* oklch */ color: oklch(63.8% 0.129 299.3);
Tailwind
colors: {
  custom: {
    50: '#b79fdd',
    500: '#9778ce',
    950: '#000000',
  },
}
SCSS
$custom: #9778ce;
$custom-light: #b79fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9778ce",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 261.628,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63751,
    "c": 0.12891,
    "h": 299.3
  },
  "luminance": 0.24468
}

Semantic roles & 50–950 ramp

primary
#9778CE
secondary
#D5E0C2
accent
#BA2C87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9778CE

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

Preview Lab → · Contrast checker → · Palette generator →

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