#C299FC#C299FC

#C299FC is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.8% C 0.144 H 302.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C299FC
RGBrgb(194, 153, 252)
HSLhsl(265, 94%, 79%)
HSVhsv(265, 39%, 99%)
CMYKcmyk(23%, 39.3%, 0%, 1.2%)
CIE-LABlab(70.37, 34.56, -43.75)
CIE-LCHlch(70.37, 55.75, 308.30°)
OKLaboklab(75.84% 0.0766 -0.1218)
OKLCHoklch(75.84% 0.144 302.2)
XYZxyz(51.2063, 41.2801, 97.3468)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299FC #D3FC99
analogous
#99A2FC #C299FC #F399FC
triadic
#C299FC #FCC299 #99FCC2
tetradic
#C299FC #FC99A2 #D3FC99 #99FCF3
square
#C299FC #FC99A2 #D3FC99 #99FCF3
split-complementary
#C299FC #FCF399 #A2FC99
monochromatic
#7B22F9 #9E5EFA #C299FC #E6D4FE #EDE1FE

Accessibility & contrast

On white

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

On black

9.26
#C299FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299FC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299FC#FFFFFF#000000##000000
##C299FC1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c299fc;
/* rgb */ color: rgb(194, 153, 252);
/* oklch */ color: oklch(75.8% 0.144 302.2);
Tailwind
colors: {
  custom: {
    50: '#d6b7fd',
    500: '#c299fc',
    950: '#000000',
  },
}
SCSS
$custom: #c299fc;
$custom-light: #d6b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c299fc",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 264.848,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75841,
    "c": 0.14385,
    "h": 302.2
  },
  "luminance": 0.4128
}

Semantic roles & 50–950 ramp

primary
#C299FC
secondary
#E8F6D5
accent
#E60086
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C299FC

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

Preview Lab → · Contrast checker → · Palette generator →

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