#9D79F7#9D79F7

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

Color values

HEX#9D79F7
RGBrgb(157, 121, 247)
HSLhsl(257, 89%, 72%)
HSVhsv(257, 51%, 97%)
CMYKcmyk(36.4%, 51%, 0%, 3.1%)
CIE-LABlab(59.49, 41.43, -58.46)
CIE-LCHlch(59.49, 71.65, 305.32°)
OKLaboklab(66.78% 0.0741 -0.1655)
OKLCHoklch(66.78% 0.181 294.1)
XYZxyz(37.5261, 27.5575, 91.3197)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79F7 #D3F779
analogous
#7994F7 #9D79F7 #DC79F7
triadic
#9D79F7 #F79D79 #79F79D
tetradic
#9D79F7 #F77994 #D3F779 #79F7DC
square
#9D79F7 #F77994 #D3F779 #79F7DC
split-complementary
#9D79F7 #F7DC79 #94F779
monochromatic
#4C0EE8 #733FF4 #9D79F7 #C7B3FA #EAE2FD

Accessibility & contrast

On white

3.23
#9D79F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9D79F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79F7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79F7#FFFFFF#000000##000000
##9D79F71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FB
Deuteranopia (green-blind)
#4E8DF4
Tritanopia (blue-blind)
#8792AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d79f7;
/* rgb */ color: rgb(157, 121, 247);
/* oklch */ color: oklch(66.8% 0.181 294.1);
Tailwind
colors: {
  custom: {
    50: '#bea0fa',
    500: '#9d79f7',
    950: '#000000',
  },
}
SCSS
$custom: #9d79f7;
$custom-light: #bea0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79f7",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 257.143,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66779,
    "c": 0.18128,
    "h": 294.1
  },
  "luminance": 0.27558
}

Semantic roles & 50–950 ramp

primary
#9D79F7
secondary
#ECF5D6
accent
#E500A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9D79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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