#9A79CB#9A79CB

#9A79CB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.1% C 0.124 H 301.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9A79CB
RGBrgb(154, 121, 203)
HSLhsl(264, 44%, 64%)
HSVhsv(264, 40%, 80%)
CMYKcmyk(24.1%, 40.4%, 0%, 20.4%)
CIE-LABlab(56.94, 29.58, -37.90)
CIE-LCHlch(56.94, 48.08, 307.97°)
OKLaboklab(64.06% 0.0648 -0.1056)
OKLCHoklch(64.06% 0.124 301.5)
XYZxyz(30.9409, 24.8565, 59.6561)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A79CB #AACB79
analogous
#7981CB #9A79CB #C379CB
triadic
#9A79CB #CB9A79 #79CB9A
tetradic
#9A79CB #CB7981 #AACB79 #79CBC3
square
#9A79CB #CB7981 #AACB79 #79CBC3
split-complementary
#9A79CB #CBC379 #81CB79
monochromatic
#5C3891 #794DBA #9A79CB #BBA5DC #DCD1ED

Accessibility & contrast

On white

3.52
#9A79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9A79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A79CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A79CB#FFFFFF#000000##000000
##9A79CB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#6B88C9
Tritanopia (blue-blind)
#918798
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a79cb;
/* rgb */ color: rgb(154, 121, 203);
/* oklch */ color: oklch(64.1% 0.124 301.5);
Tailwind
colors: {
  custom: {
    50: '#b9a0db',
    500: '#9a79cb',
    950: '#000000',
  },
}
SCSS
$custom: #9a79cb;
$custom-light: #b9a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a79cb",
  "rgb": {
    "r": 154,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 264.146,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.1239,
    "h": 301.5
  },
  "luminance": 0.24857
}

Semantic roles & 50–950 ramp

primary
#9A79CB
secondary
#D3DEC1
accent
#B72E80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9A79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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