#C299FD#C299FD

#C299FD is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.9% C 0.145 H 301.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C299FD
RGBrgb(194, 153, 253)
HSLhsl(265, 96%, 80%)
HSVhsv(265, 40%, 99%)
CMYKcmyk(23.3%, 39.5%, 0%, 0.8%)
CIE-LABlab(70.42, 34.78, -44.23)
CIE-LCHlch(70.42, 56.27, 308.18°)
OKLaboklab(75.89% 0.0768 -0.1231)
OKLCHoklch(75.89% 0.145 301.9)
XYZxyz(51.3651, 41.3436, 98.1835)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299FD #D4FD99
analogous
#99A2FD #C299FD #F499FD
triadic
#C299FD #FDC299 #99FDC2
tetradic
#C299FD #FD99A2 #D4FD99 #99FDF4
square
#C299FD #FD99A2 #D4FD99 #99FDF4
split-complementary
#C299FD #FDF499 #A2FD99
monochromatic
#7A21FB #9E5DFC #C299FD #E6D5FE #EDE1FE

Accessibility & contrast

On white

2.27
#C299FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#C299FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299FD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299FD#FFFFFF#000000##000000
##C299FD1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#B8A9BF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c299fd;
/* rgb */ color: rgb(194, 153, 253);
/* oklch */ color: oklch(75.9% 0.145 301.9);
Tailwind
colors: {
  custom: {
    50: '#d6b7fe',
    500: '#c299fd',
    950: '#000000',
  },
}
SCSS
$custom: #c299fd;
$custom-light: #d6b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c299fd",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 264.6,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75889,
    "c": 0.14511,
    "h": 301.9
  },
  "luminance": 0.41344
}

Semantic roles & 50–950 ramp

primary
#C299FD
secondary
#E9F7D4
accent
#E60087
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C299FD

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

Preview Lab → · Contrast checker → · Palette generator →

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