#C79CD6#C79CD6

#C79CD6 is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.2% C 0.094 H 317.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#C79CD6
RGBrgb(199, 156, 214)
HSLhsl(284, 41%, 73%)
HSVhsv(284, 27%, 84%)
CMYKcmyk(7%, 27.1%, 0%, 16.1%)
CIE-LABlab(70.02, 26.23, -23.46)
CIE-LCHlch(70.02, 35.19, 318.20°)
OKLaboklab(75.18% 0.0689 -0.0638)
OKLCHoklch(75.18% 0.094 317.2)
XYZxyz(47.5775, 40.7750, 68.9693)
Luminance0.4077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79CD6 #ABD69C
analogous
#AA9CD6 #C79CD6 #D69CC8
triadic
#C79CD6 #D6C79C #9CD6C7
tetradic
#C79CD6 #D6AA9C #ABD69C #9CC8D6
square
#C79CD6 #D6AA9C #ABD69C #9CC8D6
split-complementary
#C79CD6 #C8D69C #9CD6AA
monochromatic
#9549AF #AF71C4 #C79CD6 #DFC7E8 #F3E9F6

Accessibility & contrast

On white

2.29
#C79CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#C79CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79CD6
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79CD6#FFFFFF#000000##000000
##C79CD61.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A8D8
Deuteranopia (green-blind)
#9EADD4
Tritanopia (blue-blind)
#C7A3B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c79cd6;
/* rgb */ color: rgb(199, 156, 214);
/* oklch */ color: oklch(75.2% 0.094 317.2);
Tailwind
colors: {
  custom: {
    50: '#d8b9e2',
    500: '#c79cd6',
    950: '#000000',
  },
}
SCSS
$custom: #c79cd6;
$custom-light: #d8b9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c79cd6",
  "rgb": {
    "r": 199,
    "g": 156,
    "b": 214
  },
  "hsl": {
    "h": 284.483,
    "s": 41.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.09389,
    "h": 317.2
  },
  "luminance": 0.40774
}

Semantic roles & 50–950 ramp

primary
#C79CD6
secondary
#E2EDDE
accent
#B43153
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C79CD6

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

Preview Lab → · Contrast checker → · Palette generator →

#C79CD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva