#9A79CE#9A79CE

#9A79CE is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.2% C 0.128 H 300.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9A79CE
RGBrgb(154, 121, 206)
HSLhsl(263, 46%, 64%)
HSVhsv(263, 41%, 81%)
CMYKcmyk(25.2%, 41.3%, 0%, 19.2%)
CIE-LABlab(57.08, 30.30, -39.38)
CIE-LCHlch(57.08, 49.69, 307.58°)
OKLaboklab(64.21% 0.0654 -0.1099)
OKLCHoklch(64.21% 0.128 300.8)
XYZxyz(31.3019, 25.0009, 61.5571)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A79CE #ADCE79
analogous
#7983CE #9A79CE #C579CE
triadic
#9A79CE #CE9A79 #79CE9A
tetradic
#9A79CE #CE7983 #ADCE79 #79CEC5
square
#9A79CE #CE7983 #ADCE79 #79CEC5
split-complementary
#9A79CE #CEC579 #83CE79
monochromatic
#5C3796 #784CBE #9A79CE #BCA6DE #DED3EF

Accessibility & contrast

On white

3.50
#9A79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9A79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A79CE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A79CE#FFFFFF#000000##000000
##9A79CE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D1
Deuteranopia (green-blind)
#6989CC
Tritanopia (blue-blind)
#90879A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a79ce;
/* rgb */ color: rgb(154, 121, 206);
/* oklch */ color: oklch(64.2% 0.128 300.8);
Tailwind
colors: {
  custom: {
    50: '#b9a0dd',
    500: '#9a79ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a79ce;
$custom-light: #b9a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a79ce",
  "rgb": {
    "r": 154,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 263.294,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64213,
    "c": 0.12785,
    "h": 300.8
  },
  "luminance": 0.25001
}

Semantic roles & 50–950 ramp

primary
#9A79CE
secondary
#D5E0C3
accent
#BA2C83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9A79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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