#9978FB#9978FB

#9978FB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.188 H 292.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9978FB
RGBrgb(153, 120, 251)
HSLhsl(255, 94%, 73%)
HSVhsv(255, 52%, 98%)
CMYKcmyk(39%, 52.2%, 0%, 1.6%)
CIE-LABlab(59.13, 42.10, -61.26)
CIE-LCHlch(59.13, 74.33, 304.50°)
OKLaboklab(66.5% 0.0707 -0.1738)
OKLCHoklch(66.5% 0.188 292.1)
XYZxyz(37.2612, 27.1693, 94.5291)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9978FB #DAFB78
analogous
#7898FB #9978FB #DB78FB
triadic
#9978FB #FB9978 #78FB99
tetradic
#9978FB #FB7898 #DAFB78 #78FBDB
square
#9978FB #FB7898 #DAFB78 #78FBDB
split-complementary
#9978FB #FBDB78 #98FB78
monochromatic
#4207F1 #6C3DF9 #9978FB #C6B3FD #E9E1FE

Accessibility & contrast

On white

3.26
#9978FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#9978FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9978FB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9978FB#FFFFFF#000000##000000
##9978FB1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#7F93AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9978fb;
/* rgb */ color: rgb(153, 120, 251);
/* oklch */ color: oklch(66.5% 0.188 292.1);
Tailwind
colors: {
  custom: {
    50: '#bca0fd',
    500: '#9978fb',
    950: '#000000',
  },
}
SCSS
$custom: #9978fb;
$custom-light: #bca0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9978fb",
  "rgb": {
    "r": 153,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 255.115,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66502,
    "c": 0.18759,
    "h": 292.1
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#9978FB
secondary
#EEF6D5
accent
#E600AC
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #9978FB

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

Preview Lab → · Contrast checker → · Palette generator →

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