#9A78BB#9A78BB

#9A78BB is a light, moderate violet. Relative luminance 0.239; OKLCH L 63.1% C 0.105 H 306.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9A78BB
RGBrgb(154, 120, 187)
HSLhsl(270, 33%, 60%)
HSVhsv(270, 36%, 73%)
CMYKcmyk(17.6%, 35.8%, 0%, 26.7%)
CIE-LABlab(55.98, 26.40, -30.29)
CIE-LCHlch(55.98, 40.18, 311.07°)
OKLaboklab(63.1% 0.0628 -0.0837)
OKLCHoklch(63.1% 0.105 306.9)
XYZxyz(29.0108, 23.8910, 50.0872)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A78BB #99BB78
analogous
#7878BB #9A78BB #BB78BA
triadic
#9A78BB #BB9A78 #78BB9A
tetradic
#9A78BB #BB7878 #99BB78 #78BABB
square
#9A78BB #BB7878 #99BB78 #78BABB
split-complementary
#9A78BB #BABB78 #78BB78
monochromatic
#5D3E7B #7C52A3 #9A78BB #B8A1D0 #D7C9E4

Accessibility & contrast

On white

3.63
#9A78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9A78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A78BB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A78BB#FFFFFF#000000##000000
##9A78BB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#958291
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a78bb;
/* rgb */ color: rgb(154, 120, 187);
/* oklch */ color: oklch(63.1% 0.105 306.9);
Tailwind
colors: {
  custom: {
    50: '#b99fcf',
    500: '#9a78bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a78bb;
$custom-light: #b99fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a78bb",
  "rgb": {
    "r": 154,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 270.448,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.10463,
    "h": 306.9
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#9A78BB
secondary
#C7D4BB
accent
#AC3A72
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9A78BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9A78BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva