#9D79FD#9D79FD

#9D79FD is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.189 H 293.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9D79FD
RGBrgb(157, 121, 253)
HSLhsl(256, 97%, 73%)
HSVhsv(256, 52%, 99%)
CMYKcmyk(37.9%, 52.2%, 0%, 0.8%)
CIE-LABlab(59.83, 43.00, -61.22)
CIE-LCHlch(59.83, 74.81, 305.08°)
OKLaboklab(67.14% 0.0744 -0.1736)
OKLCHoklch(67.14% 0.189 293.2)
XYZxyz(38.4669, 27.9338, 96.2745)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79FD #D9FD79
analogous
#7997FD #9D79FD #DF79FD
triadic
#9D79FD #FD9D79 #79FD9D
tetradic
#9D79FD #FD7997 #D9FD79 #79FDDF
square
#9D79FD #FD7997 #D9FD79 #79FDDF
split-complementary
#9D79FD #FDDF79 #97FD79
monochromatic
#4604F8 #713DFC #9D79FD #C9B5FE #E9E1FF

Accessibility & contrast

On white

3.19
#9D79FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9D79FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79FD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79FD#FFFFFF#000000##000000
##9D79FD1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#488EFA
Tritanopia (blue-blind)
#8594B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d79fd;
/* rgb */ color: rgb(157, 121, 253);
/* oklch */ color: oklch(67.1% 0.189 293.2);
Tailwind
colors: {
  custom: {
    50: '#bea0ff',
    500: '#9d79fd',
    950: '#000000',
  },
}
SCSS
$custom: #9d79fd;
$custom-light: #bea0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79fd",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 256.364,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67144,
    "c": 0.18884,
    "h": 293.2
  },
  "luminance": 0.27935
}

Semantic roles & 50–950 ramp

primary
#9D79FD
secondary
#EDF7D4
accent
#E600A7
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9D79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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