#C799DA#C799DA

#C799DA is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.8% C 0.104 H 315.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#C799DA
RGBrgb(199, 153, 218)
HSLhsl(282, 47%, 73%)
HSVhsv(282, 30%, 85%)
CMYKcmyk(8.7%, 29.8%, 0%, 14.5%)
CIE-LABlab(69.46, 28.69, -26.51)
CIE-LCHlch(69.46, 39.07, 317.26°)
OKLaboklab(74.8% 0.0745 -0.0724)
OKLCHoklch(74.8% 0.104 315.8)
XYZxyz(47.5974, 39.9874, 71.5270)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799DA #ACDA99
analogous
#A799DA #C799DA #DA99CC
triadic
#C799DA #DAC799 #99DAC7
tetradic
#C799DA #DAA799 #ACDA99 #99CCDA
square
#C799DA #DAA799 #ACDA99 #99CCDA
split-complementary
#C799DA #CCDA99 #99DAA7
monochromatic
#9442B6 #AE6CCA #C799DA #E0C6EA #F3E9F7

Accessibility & contrast

On white

2.33
#C799DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#C799DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799DA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799DA#FFFFFF#000000##000000
##C799DA1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DD
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#C6A1B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c799da;
/* rgb */ color: rgb(199, 153, 218);
/* oklch */ color: oklch(74.8% 0.104 315.8);
Tailwind
colors: {
  custom: {
    50: '#d8b7e5',
    500: '#c799da',
    950: '#000000',
  },
}
SCSS
$custom: #c799da;
$custom-light: #d8b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c799da",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 218
  },
  "hsl": {
    "h": 282.462,
    "s": 46.763,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74804,
    "c": 0.10385,
    "h": 315.8
  },
  "luminance": 0.39987
}

Semantic roles & 50–950 ramp

primary
#C799DA
secondary
#E2EEDD
accent
#BA2C55
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141115
muted
#838084

Preview Lab

Preview with #C799DA

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

Preview Lab → · Contrast checker → · Palette generator →

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