#C799FA#C799FA

#C799FA is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.2% C 0.143 H 305.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#C799FA
RGBrgb(199, 153, 250)
HSLhsl(268, 91%, 79%)
HSVhsv(268, 39%, 98%)
CMYKcmyk(20.4%, 38.8%, 0%, 2%)
CIE-LABlab(70.75, 35.52, -42.04)
CIE-LCHlch(70.75, 55.04, 310.20°)
OKLaboklab(76.21% 0.082 -0.1167)
OKLCHoklch(76.21% 0.143 305.1)
XYZxyz(52.1962, 41.8270, 95.7476)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C799FA #CCFA99
analogous
#999CFA #C799FA #F899FA
triadic
#C799FA #FAC799 #99FAC7
tetradic
#C799FA #FA999C #CCFA99 #99FAF8
square
#C799FA #FA999C #CCFA99 #99FAF8
split-complementary
#C799FA #FAF899 #9CFA99
monochromatic
#8724F4 #A75FF7 #C799FA #E7D3FD #EFE2FE

Accessibility & contrast

On white

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

On black

9.37
#C799FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C799FA
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C799FA#FFFFFF#000000##000000
##C799FA1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#BFA8BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c799fa;
/* rgb */ color: rgb(199, 153, 250);
/* oklch */ color: oklch(76.2% 0.143 305.1);
Tailwind
colors: {
  custom: {
    50: '#d9b7fc',
    500: '#c799fa',
    950: '#000000',
  },
}
SCSS
$custom: #c799fa;
$custom-light: #d9b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c799fa",
  "rgb": {
    "r": 199,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 268.454,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.14262,
    "h": 305.1
  },
  "luminance": 0.41827
}

Semantic roles & 50–950 ramp

primary
#C799FA
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C799FA

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

Preview Lab → · Contrast checker → · Palette generator →

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