#C299DC#C299DC

#C299DC is a light, moderate violet. Relative luminance 0.394; OKLCH L 74.4% C 0.104 H 311.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C299DC
RGBrgb(194, 153, 220)
HSLhsl(277, 49%, 73%)
HSVhsv(277, 30%, 86%)
CMYKcmyk(11.8%, 30.5%, 0%, 13.7%)
CIE-LABlab(69.05, 27.52, -28.28)
CIE-LCHlch(69.05, 39.46, 314.22°)
OKLaboklab(74.41% 0.0693 -0.0774)
OKLCHoklch(74.41% 0.104 311.8)
XYZxyz(46.5554, 39.4197, 72.8525)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299DC #B3DC99
analogous
#A099DC #C299DC #DC99D5
triadic
#C299DC #DCC299 #99DCC2
tetradic
#C299DC #DCA099 #B3DC99 #99D5DC
square
#C299DC #DCA099 #B3DC99 #99D5DC
split-complementary
#C299DC #D5DC99 #99DCA0
monochromatic
#8B40BB #A76BCC #C299DC #DDC7EC #F1E8F7

Accessibility & contrast

On white

2.36
#C299DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#C299DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299DC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299DC#FFFFFF#000000##000000
##C299DC1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DF
Deuteranopia (green-blind)
#97A9DA
Tritanopia (blue-blind)
#C0A2B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c299dc;
/* rgb */ color: rgb(194, 153, 220);
/* oklch */ color: oklch(74.4% 0.104 311.8);
Tailwind
colors: {
  custom: {
    50: '#d5b7e7',
    500: '#c299dc',
    950: '#000000',
  },
}
SCSS
$custom: #c299dc;
$custom-light: #d5b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c299dc",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 276.716,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.10392,
    "h": 311.8
  },
  "luminance": 0.39419
}

Semantic roles & 50–950 ramp

primary
#C299DC
secondary
#E4EEDD
accent
#BC2962
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C299DC

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

Preview Lab → · Contrast checker → · Palette generator →

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