#C799CA#C799CA

#C799CA is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.2% C 0.086 H 324.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#C799CA
RGBrgb(199, 153, 202)
HSLhsl(296, 32%, 70%)
HSVhsv(296, 24%, 79%)
CMYKcmyk(1.5%, 24.3%, 0%, 20.8%)
CIE-LABlab(68.89, 25.53, -18.54)
CIE-LCHlch(68.89, 31.55, 324.02°)
OKLaboklab(74.18% 0.0698 -0.05)
OKLCHoklch(74.18% 0.086 324.4)
XYZxyz(45.6039, 39.1900, 61.0278)
Luminance0.3919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799CA #9CCA99
analogous
#AF99CA #C799CA #CA99B5
triadic
#C799CA #CAC799 #99CAC7
tetradic
#C799CA #CAAF99 #9CCA99 #99B5CA
square
#C799CA #CAAF99 #9CCA99 #99B5CA
split-complementary
#C799CA #B5CA99 #99CAAF
monochromatic
#955099 #B171B5 #C799CA #DDC1DF #F3EAF4

Accessibility & contrast

On white

2.38
#C799CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#C799CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799CA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799CA#FFFFFF#000000##000000
##C799CA1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CC
Deuteranopia (green-blind)
#A0AAC8
Tritanopia (blue-blind)
#C99DAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c799ca;
/* rgb */ color: rgb(199, 153, 202);
/* oklch */ color: oklch(74.2% 0.086 324.4);
Tailwind
colors: {
  custom: {
    50: '#d8b7da',
    500: '#c799ca',
    950: '#000000',
  },
}
SCSS
$custom: #c799ca;
$custom-light: #d8b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#c799ca",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 296.327,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74178,
    "c": 0.0859,
    "h": 324.4
  },
  "luminance": 0.39189
}

Semantic roles & 50–950 ramp

primary
#C799CA
secondary
#D9E6D8
accent
#AA3B42
background
#FDFBFD
surface
#FAF6FA
border
#D3D0D3
text
#141114
muted
#838083

Preview Lab

Preview with #C799CA

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

Preview Lab → · Contrast checker → · Palette generator →

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