#9D79CD#9D79CD

#9D79CD is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.4% C 0.127 H 302.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9D79CD
RGBrgb(157, 121, 205)
HSLhsl(266, 46%, 64%)
HSVhsv(266, 41%, 80%)
CMYKcmyk(23.4%, 41%, 0%, 19.6%)
CIE-LABlab(57.32, 30.93, -38.41)
CIE-LCHlch(57.32, 49.32, 308.84°)
OKLaboklab(64.45% 0.0688 -0.107)
OKLCHoklch(64.45% 0.127 302.7)
XYZxyz(31.7591, 25.2506, 60.9465)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D79CD #A9CD79
analogous
#797FCD #9D79CD #C779CD
triadic
#9D79CD #CD9D79 #79CD9D
tetradic
#9D79CD #CD797F #A9CD79 #79CDC7
square
#9D79CD #CD797F #A9CD79 #79CDC7
split-complementary
#9D79CD #CDC779 #7FCD79
monochromatic
#5F3794 #7C4CBC #9D79CD #BEA6DE #DED2EE

Accessibility & contrast

On white

3.47
#9D79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9D79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D79CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D79CD#FFFFFF#000000##000000
##9D79CD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#6C89CB
Tritanopia (blue-blind)
#958799
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d79cd;
/* rgb */ color: rgb(157, 121, 205);
/* oklch */ color: oklch(64.4% 0.127 302.7);
Tailwind
colors: {
  custom: {
    50: '#bba0dc',
    500: '#9d79cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d79cd;
$custom-light: #bba0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d79cd",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 265.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.12722,
    "h": 302.7
  },
  "luminance": 0.25251
}

Semantic roles & 50–950 ramp

primary
#9D79CD
secondary
#D3E0C2
accent
#B92D7D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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