#9779F8#9779F8

#9779F8 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.3% C 0.182 H 291.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9779F8
RGBrgb(151, 121, 248)
HSLhsl(254, 90%, 72%)
HSVhsv(254, 51%, 97%)
CMYKcmyk(39.1%, 51.2%, 0%, 2.7%)
CIE-LABlab(59.00, 40.27, -59.82)
CIE-LCHlch(59.00, 72.11, 303.95°)
OKLaboklab(66.31% 0.0669 -0.1696)
OKLCHoklch(66.31% 0.182 291.5)
XYZxyz(36.5386, 27.0304, 92.0810)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9779F8 #DAF879
analogous
#799BF8 #9779F8 #D679F8
triadic
#9779F8 #F89779 #79F897
tetradic
#9779F8 #F8799B #DAF879 #79F8D6
square
#9779F8 #F8799B #DAF879 #79F8D6
split-complementary
#9779F8 #F8D679 #9BF879
monochromatic
#410CEA #6A3FF5 #9779F8 #C4B3FB #E8E2FD

Accessibility & contrast

On white

3.28
#9779F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9779F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9779F8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9779F8#FFFFFF#000000##000000
##9779F81.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#7D93AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9779f8;
/* rgb */ color: rgb(151, 121, 248);
/* oklch */ color: oklch(66.3% 0.182 291.5);
Tailwind
colors: {
  custom: {
    50: '#baa0fb',
    500: '#9779f8',
    950: '#000000',
  },
}
SCSS
$custom: #9779f8;
$custom-light: #baa0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9779f8",
  "rgb": {
    "r": 151,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 254.173,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66308,
    "c": 0.18231,
    "h": 291.5
  },
  "luminance": 0.27031
}

Semantic roles & 50–950 ramp

primary
#9779F8
secondary
#EEF6D5
accent
#E600AF
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9779F8

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

Preview Lab → · Contrast checker → · Palette generator →

#9779F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva