#9D79F8#9D79F8

#9D79F8 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.183 H 294.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9D79F8
RGBrgb(157, 121, 248)
HSLhsl(257, 90%, 72%)
HSVhsv(257, 51%, 97%)
CMYKcmyk(36.7%, 51.2%, 0%, 2.7%)
CIE-LABlab(59.54, 41.69, -58.92)
CIE-LCHlch(59.54, 72.18, 305.28°)
OKLaboklab(66.84% 0.0741 -0.1668)
OKLCHoklch(66.84% 0.183 294)
XYZxyz(37.6809, 27.6194, 92.1345)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79F8 #D4F879
analogous
#7994F8 #9D79F8 #DD79F8
triadic
#9D79F8 #F89D79 #79F89D
tetradic
#9D79F8 #F87994 #D4F879 #79F8DD
square
#9D79F8 #F87994 #D4F879 #79F8DD
split-complementary
#9D79F8 #F8DD79 #94F879
monochromatic
#4B0CEA #723FF5 #9D79F8 #C8B3FB #EAE2FD

Accessibility & contrast

On white

3.22
#9D79F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#9D79F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79F8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79F8#FFFFFF#000000##000000
##9D79F81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#8793AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d79f8;
/* rgb */ color: rgb(157, 121, 248);
/* oklch */ color: oklch(66.8% 0.183 294.0);
Tailwind
colors: {
  custom: {
    50: '#bea0fb',
    500: '#9d79f8',
    950: '#000000',
  },
}
SCSS
$custom: #9d79f8;
$custom-light: #bea0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79f8",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 257.008,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66839,
    "c": 0.18255,
    "h": 294
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#9D79F8
secondary
#ECF6D5
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9D79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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