#C299F6#C299F6

#C299F6 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.6% C 0.136 H 303.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#C299F6
RGBrgb(194, 153, 246)
HSLhsl(266, 84%, 78%)
HSVhsv(266, 38%, 96%)
CMYKcmyk(21.1%, 37.8%, 0%, 3.5%)
CIE-LABlab(70.11, 33.19, -40.90)
CIE-LCHlch(70.11, 52.67, 309.06°)
OKLaboklab(75.56% 0.0754 -0.1135)
OKLCHoklch(75.56% 0.136 303.6)
XYZxyz(50.2704, 40.9057, 92.4181)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299F6 #CDF699
analogous
#999EF6 #C299F6 #F199F6
triadic
#C299F6 #F6C299 #99F6C2
tetradic
#C299F6 #F6999E #CDF699 #99F6F1
square
#C299F6 #F6999E #CDF699 #99F6F1
split-complementary
#C299F6 #F6F199 #9EF699
monochromatic
#7F29EC #A061F1 #C299F6 #E4D1FB #EEE3FD

Accessibility & contrast

On white

2.29
#C299F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#C299F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299F6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299F6#FFFFFF#000000##000000
##C299F61.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#8CABF3
Tritanopia (blue-blind)
#BAA8BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c299f6;
/* rgb */ color: rgb(194, 153, 246);
/* oklch */ color: oklch(75.6% 0.136 303.6);
Tailwind
colors: {
  custom: {
    50: '#d6b7f9',
    500: '#c299f6',
    950: '#000000',
  },
}
SCSS
$custom: #c299f6;
$custom-light: #d6b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c299f6",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 246
  },
  "hsl": {
    "h": 266.452,
    "s": 83.784,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75557,
    "c": 0.13628,
    "h": 303.6
  },
  "luminance": 0.40906
}

Semantic roles & 50–950 ramp

primary
#C299F6
secondary
#E7F4D7
accent
#E00580
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299F6

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

Preview Lab → · Contrast checker → · Palette generator →

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