#9D79EF#9D79EF

#9D79EF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.171 H 295.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9D79EF
RGBrgb(157, 121, 239)
HSLhsl(258, 79%, 71%)
HSVhsv(258, 49%, 94%)
CMYKcmyk(34.3%, 49.4%, 0%, 6.3%)
CIE-LABlab(59.04, 39.36, -54.74)
CIE-LCHlch(59.04, 67.42, 305.72°)
OKLaboklab(66.31% 0.0735 -0.1546)
OKLCHoklch(66.31% 0.171 295.4)
XYZxyz(36.3180, 27.0742, 84.9570)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79EF #CBEF79
analogous
#7990EF #9D79EF #D879EF
triadic
#9D79EF #EF9D79 #79EF9D
tetradic
#9D79EF #EF7990 #CBEF79 #79EFD8
square
#9D79EF #EF7990 #CBEF79 #79EFD8
split-complementary
#9D79EF #EFD879 #90EF79
monochromatic
#5219D4 #7542E8 #9D79EF #C5B0F6 #EBE4FC

Accessibility & contrast

On white

3.27
#9D79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9D79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79EF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79EF#FFFFFF#000000##000000
##9D79EF1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#8A90A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d79ef;
/* rgb */ color: rgb(157, 121, 239);
/* oklch */ color: oklch(66.3% 0.171 295.4);
Tailwind
colors: {
  custom: {
    50: '#bda0f5',
    500: '#9d79ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d79ef;
$custom-light: #bda0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79ef",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 258.305,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.17112,
    "h": 295.4
  },
  "luminance": 0.27075
}

Semantic roles & 50–950 ramp

primary
#9D79EF
secondary
#E8F2D2
accent
#DB0B9B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120F17
muted
#817E85

Preview Lab

Preview with #9D79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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