#9978D9#9978D9

#9978D9 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.5% C 0.144 H 297.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9978D9
RGBrgb(153, 120, 217)
HSLhsl(260, 56%, 66%)
HSVhsv(260, 45%, 85%)
CMYKcmyk(29.5%, 44.7%, 0%, 14.9%)
CIE-LABlab(57.28, 33.31, -45.26)
CIE-LCHlch(57.28, 56.20, 306.35°)
OKLaboklab(64.52% 0.0674 -0.127)
OKLCHoklch(64.52% 0.144 297.9)
XYZxyz(32.3747, 25.2147, 68.7935)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9978D9 #B8D978
analogous
#7887D9 #9978D9 #C978D9
triadic
#9978D9 #D99978 #78D999
tetradic
#9978D9 #D97887 #B8D978 #78D9C9
square
#9978D9 #D97887 #B8D978 #78D9C9
split-complementary
#9978D9 #D9C978 #87D978
monochromatic
#582FA7 #7548CC #9978D9 #BDA8E6 #E1D8F4

Accessibility & contrast

On white

3.48
#9978D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9978D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9978D9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9978D9#FFFFFF#000000##000000
##9978D91.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8ADD
Deuteranopia (green-blind)
#6189D7
Tritanopia (blue-blind)
#8C8A9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9978d9;
/* rgb */ color: rgb(153, 120, 217);
/* oklch */ color: oklch(64.5% 0.144 297.9);
Tailwind
colors: {
  custom: {
    50: '#b99fe5',
    500: '#9978d9',
    950: '#000000',
  },
}
SCSS
$custom: #9978d9;
$custom-light: #b99fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9978d9",
  "rgb": {
    "r": 153,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 260.412,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64523,
    "c": 0.14374,
    "h": 297.9
  },
  "luminance": 0.25215
}

Semantic roles & 50–950 ramp

primary
#9978D9
secondary
#DBE6C6
accent
#C4228D
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9978D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9978D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva