#C799DF#C799DF

#C799DF is a light, moderate violet. Relative luminance 0.403; OKLCH L 75.0% C 0.110 H 313.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C799DF
RGBrgb(199, 153, 223)
HSLhsl(279, 52%, 74%)
HSVhsv(279, 31%, 87%)
CMYKcmyk(10.8%, 31.4%, 0%, 12.5%)
CIE-LABlab(69.65, 29.72, -28.98)
CIE-LCHlch(69.65, 41.51, 315.72°)
OKLaboklab(75.01% 0.0758 -0.0793)
OKLCHoklch(75.01% 0.11 313.7)
XYZxyz(48.2616, 40.2531, 75.0250)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799DF #B1DF99
analogous
#A499DF #C799DF #DF99D4
triadic
#C799DF #DFC799 #99DFC7
tetradic
#C799DF #DFA499 #B1DF99 #99D4DF
square
#C799DF #DFA499 #B1DF99 #99D4DF
split-complementary
#C799DF #D4DF99 #99DFA4
monochromatic
#943DC1 #AD6AD0 #C799DF #E1C8EE #F2E8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C799DF#FFFFFF#000000##000000
##C799DF1.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)
#8EA8E2
Deuteranopia (green-blind)
#98ABDD
Tritanopia (blue-blind)
#C5A2B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c799df;
/* rgb */ color: rgb(199, 153, 223);
/* oklch */ color: oklch(75.0% 0.110 313.7);
Tailwind
colors: {
  custom: {
    50: '#d9b7e9',
    500: '#c799df',
    950: '#000000',
  },
}
SCSS
$custom: #c799df;
$custom-light: #d9b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c799df",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 279.429,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.10974,
    "h": 313.7
  },
  "luminance": 0.40252
}

Semantic roles & 50–950 ramp

primary
#C799DF
secondary
#E3EFDC
accent
#C0265B
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C799DF

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

Preview Lab → · Contrast checker → · Palette generator →

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