#C299F5#C299F5

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

Color values

HEX#C299F5
RGBrgb(194, 153, 245)
HSLhsl(267, 82%, 78%)
HSVhsv(267, 38%, 96%)
CMYKcmyk(20.8%, 37.6%, 0%, 3.9%)
CIE-LABlab(70.07, 32.97, -40.42)
CIE-LCHlch(70.07, 52.16, 309.20°)
OKLaboklab(75.51% 0.0752 -0.1121)
OKLCHoklch(75.51% 0.135 303.8)
XYZxyz(50.1174, 40.8445, 91.6120)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299F5 #CCF599
analogous
#999EF5 #C299F5 #F099F5
triadic
#C299F5 #F5C299 #99F5C2
tetradic
#C299F5 #F5999E #CCF599 #99F5F0
square
#C299F5 #F5999E #CCF599 #99F5F0
split-complementary
#C299F5 #F5F099 #9EF599
monochromatic
#7F2AEA #A161F0 #C299F5 #E3D1FA #EEE3FC

Accessibility & contrast

On white

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

On black

9.17
#C299F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299F5
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299F5#FFFFFF#000000##000000
##C299F51.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#BAA7BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c299f5;
/* rgb */ color: rgb(194, 153, 245);
/* oklch */ color: oklch(75.5% 0.135 303.8);
Tailwind
colors: {
  custom: {
    50: '#d6b7f9',
    500: '#c299f5',
    950: '#000000',
  },
}
SCSS
$custom: #c299f5;
$custom-light: #d6b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c299f5",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 245
  },
  "hsl": {
    "h": 266.739,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7551,
    "c": 0.13503,
    "h": 303.8
  },
  "luminance": 0.40844
}

Semantic roles & 50–950 ramp

primary
#C299F5
secondary
#E7F4D7
accent
#DF077E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299F5

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

Preview Lab → · Contrast checker → · Palette generator →

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