#C799ED#C799ED

#C799ED is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.6% C 0.127 H 308.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C799ED
RGBrgb(199, 153, 237)
HSLhsl(273, 70%, 76%)
HSVhsv(273, 35%, 93%)
CMYKcmyk(16%, 35.4%, 0%, 7.1%)
CIE-LABlab(70.20, 32.67, -35.80)
CIE-LCHlch(70.20, 48.47, 312.38°)
OKLaboklab(75.61% 0.0792 -0.0988)
OKLCHoklch(75.61% 0.127 308.7)
XYZxyz(50.2276, 41.0395, 85.3797)
Luminance0.4104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799ED #BFED99
analogous
#9D99ED #C799ED #ED99E9
triadic
#C799ED #EDC799 #99EDC7
tetradic
#C799ED #ED9D99 #BFED99 #99E9ED
square
#C799ED #ED9D99 #BFED99 #99E9ED
split-complementary
#C799ED #E9ED99 #99ED9D
monochromatic
#8E31DB #AA65E4 #C799ED #E4CDF6 #F1E5FA

Accessibility & contrast

On white

2.28
#C799ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C799ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799ED
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799ED#FFFFFF#000000##000000
##C799ED1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF0
Deuteranopia (green-blind)
#93ACEB
Tritanopia (blue-blind)
#C2A5B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c799ed;
/* rgb */ color: rgb(199, 153, 237);
/* oklch */ color: oklch(75.6% 0.127 308.7);
Tailwind
colors: {
  custom: {
    50: '#d9b7f3',
    500: '#c799ed',
    950: '#000000',
  },
}
SCSS
$custom: #c799ed;
$custom-light: #d9b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c799ed",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 272.857,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75614,
    "c": 0.12663,
    "h": 308.7
  },
  "luminance": 0.41039
}

Semantic roles & 50–950 ramp

primary
#C799ED
secondary
#E4F2D9
accent
#D2146A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C799ED

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

Preview Lab → · Contrast checker → · Palette generator →

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