#9778BE#9778BE

#9778BE is a light, moderate violet. Relative luminance 0.237; OKLCH L 63.0% C 0.108 H 303.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9778BE
RGBrgb(151, 120, 190)
HSLhsl(267, 35%, 61%)
HSVhsv(267, 37%, 75%)
CMYKcmyk(20.5%, 36.8%, 0%, 25.5%)
CIE-LABlab(55.82, 26.17, -32.28)
CIE-LCHlch(55.82, 41.55, 309.03°)
OKLaboklab(62.95% 0.0599 -0.0894)
OKLCHoklch(62.95% 0.108 303.8)
XYZxyz(28.7713, 23.7300, 51.7698)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778BE #9FBE78
analogous
#787CBE #9778BE #BA78BE
triadic
#9778BE #BE9778 #78BE97
tetradic
#9778BE #BE787C #9FBE78 #78BEBA
square
#9778BE #BE787C #9FBE78 #78BEBA
split-complementary
#9778BE #BEBA78 #7CBE78
monochromatic
#5A3D7F #7751A8 #9778BE #B7A1D2 #D7CBE6

Accessibility & contrast

On white

3.65
#9778BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9778BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778BE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778BE#FFFFFF#000000##000000
##9778BE1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C1
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#918392
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9778be;
/* rgb */ color: rgb(151, 120, 190);
/* oklch */ color: oklch(63.0% 0.108 303.8);
Tailwind
colors: {
  custom: {
    50: '#b79fd2',
    500: '#9778be',
    950: '#000000',
  },
}
SCSS
$custom: #9778be;
$custom-light: #b79fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9778be",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 266.571,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62951,
    "c": 0.10765,
    "h": 303.8
  },
  "luminance": 0.2373
}

Semantic roles & 50–950 ramp

primary
#9778BE
secondary
#CAD6BC
accent
#AE387A
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9778BE

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

Preview Lab → · Contrast checker → · Palette generator →

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