#C799CF#C799CF

#C799CF is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.4% C 0.091 H 321.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#C799CF
RGBrgb(199, 153, 207)
HSLhsl(291, 36%, 71%)
HSVhsv(291, 26%, 81%)
CMYKcmyk(3.9%, 26.1%, 0%, 18.8%)
CIE-LABlab(69.06, 26.50, -21.05)
CIE-LCHlch(69.06, 33.84, 321.54°)
OKLaboklab(74.37% 0.0714 -0.057)
OKLCHoklch(74.37% 0.091 321.4)
XYZxyz(46.2055, 39.4307, 64.1962)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799CF #A1CF99
analogous
#AC99CF #C799CF #CF99BC
triadic
#C799CF #CFC799 #99CFC7
tetradic
#C799CF #CFAC99 #A1CF99 #99BCCF
square
#C799CF #CFAC99 #A1CF99 #99BCCF
split-complementary
#C799CF #BCCF99 #99CFAC
monochromatic
#954CA2 #B06FBB #C799CF #DEC3E3 #F4EAF5

Accessibility & contrast

On white

2.36
#C799CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#C799CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799CF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799CF#FFFFFF#000000##000000
##C799CF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5D1
Deuteranopia (green-blind)
#9EAACD
Tritanopia (blue-blind)
#C99EAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c799cf;
/* rgb */ color: rgb(199, 153, 207);
/* oklch */ color: oklch(74.4% 0.091 321.4);
Tailwind
colors: {
  custom: {
    50: '#d8b7dd',
    500: '#c799cf',
    950: '#000000',
  },
}
SCSS
$custom: #c799cf;
$custom-light: #d8b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c799cf",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 291.111,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.09134,
    "h": 321.4
  },
  "luminance": 0.3943
}

Semantic roles & 50–950 ramp

primary
#C799CF
secondary
#DDE9DB
accent
#AF3748
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C799CF

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

Preview Lab → · Contrast checker → · Palette generator →

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