#C799EF#C799EF

#C799EF is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.7% C 0.129 H 308.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C799EF
RGBrgb(199, 153, 239)
HSLhsl(272, 73%, 77%)
HSVhsv(272, 36%, 94%)
CMYKcmyk(16.7%, 36%, 0%, 6.3%)
CIE-LABlab(70.29, 33.10, -36.77)
CIE-LCHlch(70.29, 49.47, 312.00°)
OKLaboklab(75.7% 0.0797 -0.1015)
OKLCHoklch(75.7% 0.129 308.1)
XYZxyz(50.5215, 41.1571, 86.9272)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799EF #C1EF99
analogous
#9C99EF #C799EF #EF99EC
triadic
#C799EF #EFC799 #99EFC7
tetradic
#C799EF #EF9C99 #C1EF99 #99ECEF
square
#C799EF #EF9C99 #C1EF99 #99ECEF
split-complementary
#C799EF #ECEF99 #99EF9C
monochromatic
#8D2FDE #AA64E7 #C799EF #E4CEF7 #F0E5FB

Accessibility & contrast

On white

2.27
#C799EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C799EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799EF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799EF#FFFFFF#000000##000000
##C799EF1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#92ACED
Tritanopia (blue-blind)
#C2A6B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c799ef;
/* rgb */ color: rgb(199, 153, 239);
/* oklch */ color: oklch(75.7% 0.129 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9b7f4',
    500: '#c799ef',
    950: '#000000',
  },
}
SCSS
$custom: #c799ef;
$custom-light: #d9b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c799ef",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 272.093,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75704,
    "c": 0.12907,
    "h": 308.1
  },
  "luminance": 0.41157
}

Semantic roles & 50–950 ramp

primary
#C799EF
secondary
#E5F3D8
accent
#D5116C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C799EF

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

Preview Lab → · Contrast checker → · Palette generator →

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