#9C79FB#9C79FB

#9C79FB is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.186 H 293.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9C79FB
RGBrgb(156, 121, 251)
HSLhsl(256, 94%, 73%)
HSVhsv(256, 52%, 98%)
CMYKcmyk(37.8%, 51.8%, 0%, 1.6%)
CIE-LABlab(59.62, 42.24, -60.45)
CIE-LCHlch(59.62, 73.75, 304.94°)
OKLaboklab(66.93% 0.0731 -0.1713)
OKLCHoklch(66.93% 0.186 293.1)
XYZxyz(37.9556, 27.7068, 94.5963)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C79FB #D8FB79
analogous
#7997FB #9C79FB #DD79FB
triadic
#9C79FB #FB9C79 #79FB9C
tetradic
#9C79FB #FB7997 #D8FB79 #79FBDD
square
#9C79FB #FB7997 #D8FB79 #79FBDD
split-complementary
#9C79FB #FBDD79 #97FB79
monochromatic
#4707F2 #703EF9 #9C79FB #C8B4FD #E9E1FE

Accessibility & contrast

On white

3.21
#9C79FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9C79FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C79FB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C79FB#FFFFFF#000000##000000
##9C79FB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#8494AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c79fb;
/* rgb */ color: rgb(156, 121, 251);
/* oklch */ color: oklch(66.9% 0.186 293.1);
Tailwind
colors: {
  custom: {
    50: '#bea0fd',
    500: '#9c79fb',
    950: '#000000',
  },
}
SCSS
$custom: #9c79fb;
$custom-light: #bea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c79fb",
  "rgb": {
    "r": 156,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 256.154,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66932,
    "c": 0.18628,
    "h": 293.1
  },
  "luminance": 0.27708
}

Semantic roles & 50–950 ramp

primary
#9C79FB
secondary
#EDF6D5
accent
#E600A8
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #9C79FB

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

Preview Lab → · Contrast checker → · Palette generator →

#9C79FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva