#9D79FA#9D79FA

#9D79FA is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.185 H 293.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9D79FA
RGBrgb(157, 121, 250)
HSLhsl(257, 93%, 73%)
HSVhsv(257, 52%, 98%)
CMYKcmyk(37.2%, 51.6%, 0%, 2%)
CIE-LABlab(59.66, 42.21, -59.84)
CIE-LCHlch(59.66, 73.23, 305.20°)
OKLaboklab(66.96% 0.0743 -0.1695)
OKLCHoklch(66.96% 0.185 293.7)
XYZxyz(37.9928, 27.7441, 93.7774)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79FA #D6FA79
analogous
#7995FA #9D79FA #DD79FA
triadic
#9D79FA #FA9D79 #79FA9D
tetradic
#9D79FA #FA7995 #D6FA79 #79FADD
square
#9D79FA #FA7995 #D6FA79 #79FADD
split-complementary
#9D79FA #FADD79 #95FA79
monochromatic
#4909F0 #723EF8 #9D79FA #C8B4FC #E9E2FE

Accessibility & contrast

On white

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

On black

6.55
#9D79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79FA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79FA#FFFFFF#000000##000000
##9D79FA1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#4B8DF7
Tritanopia (blue-blind)
#8693AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d79fa;
/* rgb */ color: rgb(157, 121, 250);
/* oklch */ color: oklch(67.0% 0.185 293.7);
Tailwind
colors: {
  custom: {
    50: '#bea0fd',
    500: '#9d79fa',
    950: '#000000',
  },
}
SCSS
$custom: #9d79fa;
$custom-light: #bea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79fa",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 256.744,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66961,
    "c": 0.18507,
    "h": 293.7
  },
  "luminance": 0.27745
}

Semantic roles & 50–950 ramp

primary
#9D79FA
secondary
#EDF6D5
accent
#E600A5
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9D79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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