#C299F4#C299F4

#C299F4 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.134 H 304.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C299F4
RGBrgb(194, 153, 244)
HSLhsl(267, 81%, 78%)
HSVhsv(267, 37%, 96%)
CMYKcmyk(20.5%, 37.3%, 0%, 4.3%)
CIE-LABlab(70.02, 32.74, -39.94)
CIE-LCHlch(70.02, 51.65, 309.34°)
OKLaboklab(75.46% 0.075 -0.1108)
OKLCHoklch(75.46% 0.134 304.1)
XYZxyz(49.9651, 40.7836, 90.8102)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299F4 #CBF499
analogous
#999DF4 #C299F4 #EF99F4
triadic
#C299F4 #F4C299 #99F4C2
tetradic
#C299F4 #F4999D #CBF499 #99F4EF
square
#C299F4 #F4999D #CBF499 #99F4EF
split-complementary
#C299F4 #F4EF99 #9DF499
monochromatic
#802BE8 #A162EE #C299F4 #E3D0FA #EEE3FC

Accessibility & contrast

On white

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

On black

9.16
#C299F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299F4
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299F4#FFFFFF#000000##000000
##C299F41.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF7
Deuteranopia (green-blind)
#8DABF2
Tritanopia (blue-blind)
#BAA7BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c299f4;
/* rgb */ color: rgb(194, 153, 244);
/* oklch */ color: oklch(75.5% 0.134 304.1);
Tailwind
colors: {
  custom: {
    50: '#d6b7f8',
    500: '#c299f4',
    950: '#000000',
  },
}
SCSS
$custom: #c299f4;
$custom-light: #d6b7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c299f4",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 244
  },
  "hsl": {
    "h": 267.033,
    "s": 80.531,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75464,
    "c": 0.13376,
    "h": 304.1
  },
  "luminance": 0.40783
}

Semantic roles & 50–950 ramp

primary
#C299F4
secondary
#E7F4D7
accent
#DD097D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299F4

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

Preview Lab → · Contrast checker → · Palette generator →

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