#C799EA#C799EA

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

Color values

HEX#C799EA
RGBrgb(199, 153, 234)
HSLhsl(274, 66%, 76%)
HSVhsv(274, 35%, 92%)
CMYKcmyk(15%, 34.6%, 0%, 8.2%)
CIE-LABlab(70.08, 32.03, -34.35)
CIE-LCHlch(70.08, 46.96, 313.00°)
OKLaboklab(75.48% 0.0785 -0.0946)
OKLCHoklch(75.48% 0.123 309.7)
XYZxyz(49.7930, 40.8657, 83.0907)
Luminance0.4087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799EA #BCEA99
analogous
#9E99EA #C799EA #EA99E4
triadic
#C799EA #EAC799 #99EAC7
tetradic
#C799EA #EA9E99 #BCEA99 #99E4EA
square
#C799EA #EA9E99 #BCEA99 #99E4EA
split-complementary
#C799EA #E4EA99 #99EA9E
monochromatic
#8F33D5 #AB66E0 #C799EA #E3CCF4 #F1E6FA

Accessibility & contrast

On white

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

On black

9.17
#C799EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799EA
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799EA#FFFFFF#000000##000000
##C799EA1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9ED
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#C3A4B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c799ea;
/* rgb */ color: rgb(199, 153, 234);
/* oklch */ color: oklch(75.5% 0.123 309.7);
Tailwind
colors: {
  custom: {
    50: '#d9b7f1',
    500: '#c799ea',
    950: '#000000',
  },
}
SCSS
$custom: #c799ea;
$custom-light: #d9b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c799ea",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 274.074,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75481,
    "c": 0.12297,
    "h": 309.7
  },
  "luminance": 0.40865
}

Semantic roles & 50–950 ramp

primary
#C799EA
secondary
#E4F1DA
accent
#CE1866
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C799EA

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

Preview Lab → · Contrast checker → · Palette generator →

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