#9D79EA#9D79EA

#9D79EA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.0% C 0.165 H 296.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9D79EA
RGBrgb(157, 121, 234)
HSLhsl(259, 73%, 70%)
HSVhsv(259, 48%, 92%)
CMYKcmyk(32.9%, 48.3%, 0%, 8.2%)
CIE-LABlab(58.77, 38.09, -52.39)
CIE-LCHlch(58.77, 64.77, 306.02°)
OKLaboklab(66.02% 0.073 -0.1477)
OKLCHoklch(66.02% 0.165 296.3)
XYZxyz(35.5896, 26.7828, 81.1205)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79EA #C6EA79
analogous
#798EEA #9D79EA #D679EA
triadic
#9D79EA #EA9D79 #79EA9D
tetradic
#9D79EA #EA798E #C6EA79 #79EAD6
square
#9D79EA #EA798E #C6EA79 #79EAD6
split-complementary
#9D79EA #EAD679 #8EEA79
monochromatic
#5620C9 #7644E2 #9D79EA #C4AEF2 #EAE3FB

Accessibility & contrast

On white

3.30
#9D79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9D79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79EA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79EA#FFFFFF#000000##000000
##9D79EA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#8C8FA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d79ea;
/* rgb */ color: rgb(157, 121, 234);
/* oklch */ color: oklch(66.0% 0.165 296.3);
Tailwind
colors: {
  custom: {
    50: '#bda0f1',
    500: '#9d79ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d79ea;
$custom-light: #bda0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79ea",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 259.115,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66015,
    "c": 0.16473,
    "h": 296.3
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#9D79EA
secondary
#E5F0CF
accent
#D51196
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9D79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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