#C79CD2#C79CD2

#C79CD2 is a light, moderate purple. Relative luminance 0.406; OKLCH L 75.0% C 0.089 H 319.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C79CD2
RGBrgb(199, 156, 210)
HSLhsl(288, 38%, 72%)
HSVhsv(288, 26%, 82%)
CMYKcmyk(5.2%, 25.7%, 0%, 17.6%)
CIE-LABlab(69.88, 25.44, -21.47)
CIE-LCHlch(69.88, 33.28, 319.84°)
OKLaboklab(75.03% 0.0677 -0.0582)
OKLCHoklch(75.03% 0.089 319.3)
XYZxyz(47.0729, 40.5732, 66.3119)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79CD2 #A7D29C
analogous
#AC9CD2 #C79CD2 #D29CC2
triadic
#C79CD2 #D2C79C #9CD2C7
tetradic
#C79CD2 #D2AC9C #A7D29C #9CC2D2
square
#C79CD2 #D2AC9C #A7D29C #9CC2D2
split-complementary
#C79CD2 #C2D29C #9CD2AC
monochromatic
#954CA7 #AF72BF #C79CD2 #DFC6E5 #F3EAF5

Accessibility & contrast

On white

2.30
#C79CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#C79CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79CD2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79CD2#FFFFFF#000000##000000
##C79CD21.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A8D4
Deuteranopia (green-blind)
#9FACD0
Tritanopia (blue-blind)
#C8A2AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c79cd2;
/* rgb */ color: rgb(199, 156, 210);
/* oklch */ color: oklch(75.0% 0.089 319.3);
Tailwind
colors: {
  custom: {
    50: '#d8b9e0',
    500: '#c79cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c79cd2;
$custom-light: #d8b9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c79cd2",
  "rgb": {
    "r": 199,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 287.778,
    "s": 37.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75026,
    "c": 0.08931,
    "h": 319.3
  },
  "luminance": 0.40572
}

Semantic roles & 50–950 ramp

primary
#C79CD2
secondary
#E1ECDE
accent
#B0354E
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C79CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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