#9978CA#9978CA

#9978CA is a light, vivid violet. Relative luminance 0.245; OKLCH L 63.7% C 0.124 H 301.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9978CA
RGBrgb(153, 120, 202)
HSLhsl(264, 44%, 63%)
HSVhsv(264, 41%, 79%)
CMYKcmyk(24.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(56.55, 29.62, -37.94)
CIE-LCHlch(56.55, 48.13, 307.98°)
OKLaboklab(63.74% 0.0649 -0.1057)
OKLCHoklch(63.74% 0.124 301.5)
XYZxyz(30.5117, 24.4695, 58.9813)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9978CA #A9CA78
analogous
#7880CA #9978CA #C278CA
triadic
#9978CA #CA9978 #78CA99
tetradic
#9978CA #CA7880 #A9CA78 #78CAC2
square
#9978CA #CA7880 #A9CA78 #78CAC2
split-complementary
#9978CA #CAC278 #80CA78
monochromatic
#5B388F #784CB9 #9978CA #BAA4DB #DBD0ED

Accessibility & contrast

On white

3.56
#9978CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9978CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9978CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9978CA#FFFFFF#000000##000000
##9978CA1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#908697
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9978ca;
/* rgb */ color: rgb(153, 120, 202);
/* oklch */ color: oklch(63.7% 0.124 301.5);
Tailwind
colors: {
  custom: {
    50: '#b89fda',
    500: '#9978ca',
    950: '#000000',
  },
}
SCSS
$custom: #9978ca;
$custom-light: #b89fda;
$custom-dark: #000000;
JSON
{
  "hex": "#9978ca",
  "rgb": {
    "r": 153,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 264.146,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.12403,
    "h": 301.5
  },
  "luminance": 0.2447
}

Semantic roles & 50–950 ramp

primary
#9978CA
secondary
#D2DEC0
accent
#B72F80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9978CA

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

Preview Lab → · Contrast checker → · Palette generator →

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