#C799CD#C799CD

#C799CD is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.3% C 0.089 H 322.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C799CD
RGBrgb(199, 153, 205)
HSLhsl(293, 34%, 70%)
HSVhsv(293, 25%, 80%)
CMYKcmyk(2.9%, 25.4%, 0%, 19.6%)
CIE-LABlab(68.99, 26.11, -20.05)
CIE-LCHlch(68.99, 32.92, 322.49°)
OKLaboklab(74.29% 0.0708 -0.0542)
OKLCHoklch(74.29% 0.089 322.5)
XYZxyz(45.9625, 39.3335, 62.9167)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799CD #9FCD99
analogous
#AD99CD #C799CD #CD99B9
triadic
#C799CD #CDC799 #99CDC7
tetradic
#C799CD #CDAD99 #9FCD99 #99B9CD
square
#C799CD #CDAD99 #9FCD99 #99B9CD
split-complementary
#C799CD #B9CD99 #99CDAD
monochromatic
#954D9E #B070B9 #C799CD #DEC2E1 #F4EAF5

Accessibility & contrast

On white

2.37
#C799CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C799CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799CD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799CD#FFFFFF#000000##000000
##C799CD1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#9FAACB
Tritanopia (blue-blind)
#C99EAB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c799cd;
/* rgb */ color: rgb(199, 153, 205);
/* oklch */ color: oklch(74.3% 0.089 322.5);
Tailwind
colors: {
  custom: {
    50: '#d8b7dc',
    500: '#c799cd',
    950: '#000000',
  },
}
SCSS
$custom: #c799cd;
$custom-light: #d8b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c799cd",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 293.077,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74291,
    "c": 0.08914,
    "h": 322.5
  },
  "luminance": 0.39332
}

Semantic roles & 50–950 ramp

primary
#C799CD
secondary
#DBE8DA
accent
#AD3846
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C799CD

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

Preview Lab → · Contrast checker → · Palette generator →

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