#9C79EA#9C79EA

#9C79EA is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.165 H 295.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C79EA
RGBrgb(156, 121, 234)
HSLhsl(259, 73%, 70%)
HSVhsv(259, 48%, 92%)
CMYKcmyk(33.3%, 48.3%, 0%, 8.2%)
CIE-LABlab(58.68, 37.83, -52.55)
CIE-LCHlch(58.68, 64.75, 305.75°)
OKLaboklab(65.92% 0.0718 -0.1482)
OKLCHoklch(65.92% 0.165 295.8)
XYZxyz(35.3952, 26.6826, 81.1114)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C79EA #C7EA79
analogous
#798FEA #9C79EA #D479EA
triadic
#9C79EA #EA9C79 #79EA9C
tetradic
#9C79EA #EA798F #C7EA79 #79EAD4
square
#9C79EA #EA798F #C7EA79 #79EAD4
split-complementary
#9C79EA #EAD479 #8FEA79
monochromatic
#5420C9 #7544E2 #9C79EA #C3AEF2 #EAE3FB

Accessibility & contrast

On white

3.31
#9C79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9C79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C79EA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C79EA#FFFFFF#000000##000000
##9C79EA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c79ea;
/* rgb */ color: rgb(156, 121, 234);
/* oklch */ color: oklch(65.9% 0.165 295.8);
Tailwind
colors: {
  custom: {
    50: '#bca0f1',
    500: '#9c79ea',
    950: '#000000',
  },
}
SCSS
$custom: #9c79ea;
$custom-light: #bca0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c79ea",
  "rgb": {
    "r": 156,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 258.584,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.16463,
    "h": 295.8
  },
  "luminance": 0.26683
}

Semantic roles & 50–950 ramp

primary
#9C79EA
secondary
#E6F0CF
accent
#D51198
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9C79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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