#C299F2#C299F2

#C299F2 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.4% C 0.131 H 304.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C299F2
RGBrgb(194, 153, 242)
HSLhsl(268, 77%, 77%)
HSVhsv(268, 37%, 95%)
CMYKcmyk(19.8%, 36.8%, 0%, 5.1%)
CIE-LABlab(69.94, 32.29, -38.98)
CIE-LCHlch(69.94, 50.62, 309.64°)
OKLaboklab(75.37% 0.0746 -0.108)
OKLCHoklch(75.37% 0.131 304.6)
XYZxyz(49.6631, 40.6628, 89.2195)
Luminance0.4066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299F2 #C9F299
analogous
#999DF2 #C299F2 #EE99F2
triadic
#C299F2 #F2C299 #99F2C2
tetradic
#C299F2 #F2999D #C9F299 #99F2EE
square
#C299F2 #F2999D #C9F299 #99F2EE
split-complementary
#C299F2 #F2EE99 #9DF299
monochromatic
#812CE4 #A263EB #C299F2 #E2CFF9 #EFE4FC

Accessibility & contrast

On white

2.30
#C299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C299F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299F2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299F2#FFFFFF#000000##000000
##C299F21.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#BBA7BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c299f2;
/* rgb */ color: rgb(194, 153, 242);
/* oklch */ color: oklch(75.4% 0.131 304.6);
Tailwind
colors: {
  custom: {
    50: '#d6b7f6',
    500: '#c299f2',
    950: '#000000',
  },
}
SCSS
$custom: #c299f2;
$custom-light: #d6b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c299f2",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 267.64,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75371,
    "c": 0.13126,
    "h": 304.6
  },
  "luminance": 0.40663
}

Semantic roles & 50–950 ramp

primary
#C299F2
secondary
#E7F3D8
accent
#DA0C7B
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #C299F2

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

Preview Lab → · Contrast checker → · Palette generator →

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