#C79BD2#C79BD2

#C79BD2 is a light, moderate purple. Relative luminance 0.402; OKLCH L 74.8% C 0.091 H 319.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C79BD2
RGBrgb(199, 155, 210)
HSLhsl(288, 38%, 72%)
HSVhsv(288, 26%, 82%)
CMYKcmyk(5.2%, 26.2%, 0%, 17.6%)
CIE-LABlab(69.64, 25.99, -21.83)
CIE-LCHlch(69.64, 33.94, 319.97°)
OKLaboklab(74.85% 0.0692 -0.0592)
OKLCHoklch(74.85% 0.091 319.5)
XYZxyz(46.9058, 40.2389, 66.2562)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79BD2 #A6D29B
analogous
#AC9BD2 #C79BD2 #D29BC2
triadic
#C79BD2 #D2C79B #9BD2C7
tetradic
#C79BD2 #D2AC9B #A6D29B #9BC2D2
square
#C79BD2 #D2AC9B #A6D29B #9BC2D2
split-complementary
#C79BD2 #C2D29B #9BD2AC
monochromatic
#954BA7 #AF71BF #C79BD2 #DFC5E5 #F3EAF6

Accessibility & contrast

On white

2.32
#C79BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#C79BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79BD2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79BD2#FFFFFF#000000##000000
##C79BD21.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A7D4
Deuteranopia (green-blind)
#9FACD0
Tritanopia (blue-blind)
#C8A1AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c79bd2;
/* rgb */ color: rgb(199, 155, 210);
/* oklch */ color: oklch(74.8% 0.091 319.5);
Tailwind
colors: {
  custom: {
    50: '#d8b9e0',
    500: '#c79bd2',
    950: '#000000',
  },
}
SCSS
$custom: #c79bd2;
$custom-light: #d8b9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c79bd2",
  "rgb": {
    "r": 199,
    "g": 155,
    "b": 210
  },
  "hsl": {
    "h": 288,
    "s": 37.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74845,
    "c": 0.0911,
    "h": 319.5
  },
  "luminance": 0.40238
}

Semantic roles & 50–950 ramp

primary
#C79BD2
secondary
#E0EBDD
accent
#B1354D
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C79BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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