#9B79CD#9B79CD

#9B79CD is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.3% C 0.127 H 301.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B79CD
RGBrgb(155, 121, 205)
HSLhsl(264, 46%, 64%)
HSVhsv(264, 41%, 80%)
CMYKcmyk(24.4%, 41%, 0%, 19.6%)
CIE-LABlab(57.13, 30.35, -38.73)
CIE-LCHlch(57.13, 49.21, 308.08°)
OKLaboklab(64.26% 0.0664 -0.108)
OKLCHoklch(64.26% 0.127 301.6)
XYZxyz(31.3720, 25.0510, 60.9283)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79CD #ABCD79
analogous
#7981CD #9B79CD #C579CD
triadic
#9B79CD #CD9B79 #79CD9B
tetradic
#9B79CD #CD7981 #ABCD79 #79CDC5
square
#9B79CD #CD7981 #ABCD79 #79CDC5
split-complementary
#9B79CD #CDC579 #81CD79
monochromatic
#5D3794 #7A4CBC #9B79CD #BCA6DE #DED2EE

Accessibility & contrast

On white

3.49
#9B79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9B79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79CD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79CD#FFFFFF#000000##000000
##9B79CD1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#928799
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b79cd;
/* rgb */ color: rgb(155, 121, 205);
/* oklch */ color: oklch(64.3% 0.127 301.6);
Tailwind
colors: {
  custom: {
    50: '#baa0dc',
    500: '#9b79cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b79cd;
$custom-light: #baa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79cd",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 264.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.12675,
    "h": 301.6
  },
  "luminance": 0.25051
}

Semantic roles & 50–950 ramp

primary
#9B79CD
secondary
#D4E0C2
accent
#B92D80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9B79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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