#9879F9#9879F9

#9879F9 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.184 H 291.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9879F9
RGBrgb(152, 121, 249)
HSLhsl(255, 91%, 73%)
HSVhsv(255, 51%, 98%)
CMYKcmyk(39%, 51.4%, 0%, 2.4%)
CIE-LABlab(59.15, 40.77, -60.13)
CIE-LCHlch(59.15, 72.65, 304.14°)
OKLaboklab(66.46% 0.0681 -0.1705)
OKLCHoklch(66.46% 0.184 291.8)
XYZxyz(36.8805, 27.1887, 92.9090)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9879F9 #DAF979
analogous
#799AF9 #9879F9 #D879F9
triadic
#9879F9 #F99879 #79F998
tetradic
#9879F9 #F9799A #DAF979 #79F9D8
square
#9879F9 #F9799A #DAF979 #79F9D8
split-complementary
#9879F9 #F9D879 #9AF979
monochromatic
#410BED #6B3EF6 #9879F9 #C5B4FC #E8E2FE

Accessibility & contrast

On white

3.26
#9879F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9879F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9879F9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9879F9#FFFFFF#000000##000000
##9879F91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#7E93AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9879f9;
/* rgb */ color: rgb(152, 121, 249);
/* oklch */ color: oklch(66.5% 0.184 291.8);
Tailwind
colors: {
  custom: {
    50: '#bba0fc',
    500: '#9879f9',
    950: '#000000',
  },
}
SCSS
$custom: #9879f9;
$custom-light: #bba0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9879f9",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 254.531,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.18361,
    "h": 291.8
  },
  "luminance": 0.2719
}

Semantic roles & 50–950 ramp

primary
#9879F9
secondary
#EEF6D5
accent
#E600AE
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9879F9

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

Preview Lab → · Contrast checker → · Palette generator →

#9879F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva