#C799FB#C799FB

#C799FB is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.3% C 0.144 H 304.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#C799FB
RGBrgb(199, 153, 251)
HSLhsl(268, 92%, 79%)
HSVhsv(268, 39%, 98%)
CMYKcmyk(20.7%, 39%, 0%, 1.6%)
CIE-LABlab(70.79, 35.75, -42.51)
CIE-LCHlch(70.79, 55.55, 310.06°)
OKLaboklab(76.26% 0.0822 -0.1181)
OKLCHoklch(76.26% 0.144 304.8)
XYZxyz(52.3534, 41.8898, 96.5756)
Luminance0.4189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799FB #CDFB99
analogous
#999CFB #C799FB #F899FB
triadic
#C799FB #FBC799 #99FBC7
tetradic
#C799FB #FB999C #CDFB99 #99FBF8
square
#C799FB #FB999C #CDFB99 #99FBF8
split-complementary
#C799FB #FBF899 #9CFB99
monochromatic
#8623F6 #A75EF9 #C799FB #E7D4FD #EFE2FE

Accessibility & contrast

On white

2.24
#C799FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#C799FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799FB
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799FB#FFFFFF#000000##000000
##C799FB1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#BFA8BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c799fb;
/* rgb */ color: rgb(199, 153, 251);
/* oklch */ color: oklch(76.3% 0.144 304.8);
Tailwind
colors: {
  custom: {
    50: '#d9b7fd',
    500: '#c799fb',
    950: '#000000',
  },
}
SCSS
$custom: #c799fb;
$custom-light: #d9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c799fb",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 268.163,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76257,
    "c": 0.14385,
    "h": 304.8
  },
  "luminance": 0.4189
}

Semantic roles & 50–950 ramp

primary
#C799FB
secondary
#E7F6D5
accent
#E6007A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C799FB

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

Preview Lab → · Contrast checker → · Palette generator →

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