#C299DF#C299DF

#C299DF is a light, moderate violet. Relative luminance 0.396; OKLCH L 74.5% C 0.108 H 310.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#C299DF
RGBrgb(194, 153, 223)
HSLhsl(275, 52%, 74%)
HSVhsv(275, 31%, 87%)
CMYKcmyk(13%, 31.4%, 0%, 12.5%)
CIE-LABlab(69.17, 28.16, -29.76)
CIE-LCHlch(69.17, 40.97, 313.42°)
OKLaboklab(74.53% 0.0701 -0.0816)
OKLCHoklch(74.53% 0.108 310.6)
XYZxyz(46.9563, 39.5801, 74.9638)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299DF #B6DF99
analogous
#9F99DF #C299DF #DF99D9
triadic
#C299DF #DFC299 #99DFC2
tetradic
#C299DF #DF9F99 #B6DF99 #99D9DF
square
#C299DF #DF9F99 #B6DF99 #99D9DF
split-complementary
#C299DF #D9DF99 #99DF9F
monochromatic
#8A3DC1 #A66AD0 #C299DF #DEC8EE #F1E8F8

Accessibility & contrast

On white

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

On black

8.92
#C299DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299DF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299DF#FFFFFF#000000##000000
##C299DF1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#96AADD
Tritanopia (blue-blind)
#BFA2B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c299df;
/* rgb */ color: rgb(194, 153, 223);
/* oklch */ color: oklch(74.5% 0.108 310.6);
Tailwind
colors: {
  custom: {
    50: '#d5b7e9',
    500: '#c299df',
    950: '#000000',
  },
}
SCSS
$custom: #c299df;
$custom-light: #d5b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c299df",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 275.143,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74532,
    "c": 0.10759,
    "h": 310.6
  },
  "luminance": 0.3958
}

Semantic roles & 50–950 ramp

primary
#C299DF
secondary
#E4EFDC
accent
#C02666
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C299DF

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

Preview Lab → · Contrast checker → · Palette generator →

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