#9778CF#9778CF

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

Color values

HEX#9778CF
RGBrgb(151, 120, 207)
HSLhsl(261, 48%, 64%)
HSVhsv(261, 42%, 81%)
CMYKcmyk(27.1%, 42%, 0%, 18.8%)
CIE-LABlab(56.60, 30.27, -40.71)
CIE-LCHlch(56.60, 50.73, 306.63°)
OKLaboklab(63.8% 0.0634 -0.1138)
OKLCHoklch(63.8% 0.13 299.1)
XYZxyz(30.7389, 24.5170, 62.1322)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778CF #B0CF78
analogous
#7885CF #9778CF #C378CF
triadic
#9778CF #CF9778 #78CF97
tetradic
#9778CF #CF7885 #B0CF78 #78CFC3
square
#9778CF #CF7885 #B0CF78 #78CFC3
split-complementary
#9778CF #CFC378 #85CF78
monochromatic
#583697 #744BBF #9778CF #BAA5DF #DDD2EF

Accessibility & contrast

On white

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

On black

5.90
#9778CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778CF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778CF#FFFFFF#000000##000000
##9778CF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#8C879A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9778cf;
/* rgb */ color: rgb(151, 120, 207);
/* oklch */ color: oklch(63.8% 0.130 299.1);
Tailwind
colors: {
  custom: {
    50: '#b79fde',
    500: '#9778cf',
    950: '#000000',
  },
}
SCSS
$custom: #9778cf;
$custom-light: #b79fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9778cf",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 261.379,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63803,
    "c": 0.13024,
    "h": 299.1
  },
  "luminance": 0.24517
}

Semantic roles & 50–950 ramp

primary
#9778CF
secondary
#D6E1C2
accent
#BB2B87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9778CF

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

Preview Lab → · Contrast checker → · Palette generator →

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