#C799EB#C799EB

#C799EB is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.5% C 0.124 H 309.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#C799EB
RGBrgb(199, 153, 235)
HSLhsl(274, 67%, 76%)
HSVhsv(274, 35%, 92%)
CMYKcmyk(15.3%, 34.9%, 0%, 7.8%)
CIE-LABlab(70.12, 32.24, -34.83)
CIE-LCHlch(70.12, 47.46, 312.79°)
OKLaboklab(75.53% 0.0788 -0.096)
OKLCHoklch(75.53% 0.124 309.4)
XYZxyz(49.9371, 40.9233, 83.8494)
Luminance0.4092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799EB #BDEB99
analogous
#9E99EB #C799EB #EB99E6
triadic
#C799EB #EBC799 #99EBC7
tetradic
#C799EB #EB9E99 #BDEB99 #99E6EB
square
#C799EB #EB9E99 #BDEB99 #99E6EB
split-complementary
#C799EB #E6EB99 #99EB9E
monochromatic
#8F33D7 #AB66E1 #C799EB #E3CCF5 #F1E5FA

Accessibility & contrast

On white

2.29
#C799EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#C799EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799EB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799EB#FFFFFF#000000##000000
##C799EB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#94ACE9
Tritanopia (blue-blind)
#C3A5B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c799eb;
/* rgb */ color: rgb(199, 153, 235);
/* oklch */ color: oklch(75.5% 0.124 309.4);
Tailwind
colors: {
  custom: {
    50: '#d9b7f1',
    500: '#c799eb',
    950: '#000000',
  },
}
SCSS
$custom: #c799eb;
$custom-light: #d9b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c799eb",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 273.659,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75526,
    "c": 0.12419,
    "h": 309.4
  },
  "luminance": 0.40923
}

Semantic roles & 50–950 ramp

primary
#C799EB
secondary
#E4F1DA
accent
#CF1667
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C799EB

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

Preview Lab → · Contrast checker → · Palette generator →

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