#C799FF#C799FF

#C799FF is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.4% C 0.149 H 303.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C799FF
RGBrgb(199, 153, 255)
HSLhsl(267, 100%, 80%)
HSVhsv(267, 40%, 100%)
CMYKcmyk(22%, 40%, 0%, 0%)
CIE-LABlab(70.97, 36.65, -44.41)
CIE-LCHlch(70.97, 57.58, 309.53°)
OKLaboklab(76.45% 0.0829 -0.1236)
OKLCHoklch(76.45% 0.149 303.9)
XYZxyz(52.9906, 42.1447, 99.9314)
Luminance0.4214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799FF #D1FF99
analogous
#999EFF #C799FF #FA99FF
triadic
#C799FF #FFC799 #99FFC7
tetradic
#C799FF #FF999E #D1FF99 #99FFFA
square
#C799FF #FF999E #D1FF99 #99FFFA
split-complementary
#C799FF #FFFA99 #9EFF99
monochromatic
#841FFF #A55CFF #C799FF #E9D6FF #EEE0FF

Accessibility & contrast

On white

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

On black

9.43
#C799FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799FF
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799FF#FFFFFF#000000##000000
##C799FF1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#8AAEFC
Tritanopia (blue-blind)
#BEA9C0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c799ff;
/* rgb */ color: rgb(199, 153, 255);
/* oklch */ color: oklch(76.4% 0.149 303.9);
Tailwind
colors: {
  custom: {
    50: '#d9b7ff',
    500: '#c799ff',
    950: '#000000',
  },
}
SCSS
$custom: #c799ff;
$custom-light: #d9b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c799ff",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 267.059,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.76447,
    "c": 0.1488,
    "h": 303.9
  },
  "luminance": 0.42145
}

Semantic roles & 50–950 ramp

primary
#C799FF
secondary
#E7F7D4
accent
#E6007E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C799FF

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

Preview Lab → · Contrast checker → · Palette generator →

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