#9778B2#9778B2

#9778B2 is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.4% C 0.092 H 308.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9778B2
RGBrgb(151, 120, 178)
HSLhsl(272, 27%, 58%)
HSVhsv(272, 33%, 70%)
CMYKcmyk(15.2%, 32.6%, 0%, 30.2%)
CIE-LABlab(55.31, 23.40, -26.19)
CIE-LCHlch(55.31, 35.13, 311.78°)
OKLaboklab(62.39% 0.057 -0.072)
OKLCHoklch(62.39% 0.092 308.3)
XYZxyz(27.5134, 23.2268, 45.1446)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778B2 #93B278
analogous
#7A78B2 #9778B2 #B278B0
triadic
#9778B2 #B29778 #78B297
tetradic
#9778B2 #B27A78 #93B278 #78B0B2
square
#9778B2 #B27A78 #93B278 #78B0B2
split-complementary
#9778B2 #B0B278 #78B27A
monochromatic
#594070 #795697 #9778B2 #B59FC8 #D3C6DE

Accessibility & contrast

On white

3.72
#9778B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#9778B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778B2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778B2#FFFFFF#000000##000000
##9778B21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#94808D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9778b2;
/* rgb */ color: rgb(151, 120, 178);
/* oklch */ color: oklch(62.4% 0.092 308.3);
Tailwind
colors: {
  custom: {
    50: '#b69fc9',
    500: '#9778b2',
    950: '#000000',
  },
}
SCSS
$custom: #9778b2;
$custom-light: #b69fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9778b2",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 272.069,
    "s": 27.358,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62393,
    "c": 0.09183,
    "h": 308.3
  },
  "luminance": 0.23227
}

Semantic roles & 50–950 ramp

primary
#9778B2
secondary
#C2CEB7
accent
#C46491
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9778B2

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

Preview Lab → · Contrast checker → · Palette generator →

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