#C799FD#C799FD

#C799FD is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.4% C 0.146 H 304.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C799FD
RGBrgb(199, 153, 253)
HSLhsl(268, 96%, 80%)
HSVhsv(268, 40%, 99%)
CMYKcmyk(21.3%, 39.5%, 0%, 0.8%)
CIE-LABlab(70.88, 36.20, -43.46)
CIE-LCHlch(70.88, 56.56, 309.79°)
OKLaboklab(76.35% 0.0826 -0.1208)
OKLCHoklch(76.35% 0.146 304.3)
XYZxyz(52.6704, 42.0166, 98.2447)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799FD #CFFD99
analogous
#999DFD #C799FD #F999FD
triadic
#C799FD #FDC799 #99FDC7
tetradic
#C799FD #FD999D #CFFD99 #99FDF9
square
#C799FD #FD999D #CFFD99 #99FDF9
split-complementary
#C799FD #FDF999 #9DFD99
monochromatic
#8521FB #A65DFC #C799FD #E8D5FE #EFE1FE

Accessibility & contrast

On white

2.23
#C799FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C799FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799FD
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799FD#FFFFFF#000000##000000
##C799FD1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#8BAEFA
Tritanopia (blue-blind)
#BEA9BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c799fd;
/* rgb */ color: rgb(199, 153, 253);
/* oklch */ color: oklch(76.4% 0.146 304.3);
Tailwind
colors: {
  custom: {
    50: '#d9b7fe',
    500: '#c799fd',
    950: '#000000',
  },
}
SCSS
$custom: #c799fd;
$custom-light: #d9b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c799fd",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 267.6,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76351,
    "c": 0.14633,
    "h": 304.3
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

primary
#C799FD
secondary
#E7F7D4
accent
#E6007C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C799FD

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

Preview Lab → · Contrast checker → · Palette generator →

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