#C299F9#C299F9

#C299F9 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.7% C 0.140 H 302.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C299F9
RGBrgb(194, 153, 249)
HSLhsl(266, 89%, 79%)
HSVhsv(266, 39%, 98%)
CMYKcmyk(22.1%, 38.6%, 0%, 2.4%)
CIE-LABlab(70.24, 33.87, -42.33)
CIE-LCHlch(70.24, 54.21, 308.67°)
OKLaboklab(75.7% 0.076 -0.1176)
OKLCHoklch(75.7% 0.14 302.9)
XYZxyz(50.7346, 41.0914, 94.8628)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299F9 #D0F999
analogous
#99A0F9 #C299F9 #F299F9
triadic
#C299F9 #F9C299 #99F9C2
tetradic
#C299F9 #F999A0 #D0F999 #99F9F2
square
#C299F9 #F999A0 #D0F999 #99F9F2
split-complementary
#C299F9 #F9F299 #A0F999
monochromatic
#7D25F2 #9F5FF6 #C299F9 #E5D3FC #EEE2FD

Accessibility & contrast

On white

2.28
#C299F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C299F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299F9
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299F9#FFFFFF#000000##000000
##C299F91.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFD
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#B9A8BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c299f9;
/* rgb */ color: rgb(194, 153, 249);
/* oklch */ color: oklch(75.7% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#d6b7fb',
    500: '#c299f9',
    950: '#000000',
  },
}
SCSS
$custom: #c299f9;
$custom-light: #d6b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c299f9",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 265.625,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75698,
    "c": 0.14007,
    "h": 302.9
  },
  "luminance": 0.41091
}

Semantic roles & 50–950 ramp

primary
#C299F9
secondary
#E8F5D6
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299F9

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

Preview Lab → · Contrast checker → · Palette generator →

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