#CA99FC#CA99FC

#CA99FC is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.6% C 0.146 H 306.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CA99FC
RGBrgb(202, 153, 252)
HSLhsl(270, 94%, 79%)
HSVhsv(270, 39%, 99%)
CMYKcmyk(19.8%, 39.3%, 0%, 1.2%)
CIE-LABlab(71.12, 36.83, -42.52)
CIE-LCHlch(71.12, 56.25, 310.89°)
OKLaboklab(76.59% 0.0858 -0.118)
OKLCHoklch(76.59% 0.146 306)
XYZxyz(53.3155, 42.3676, 97.4456)
Luminance0.4237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99FC #CBFC99
analogous
#999AFC #CA99FC #FC99FC
triadic
#CA99FC #FCCA99 #99FCCA
tetradic
#CA99FC #FC999A #CBFC99 #99FCFC
square
#CA99FC #FC999A #CBFC99 #99FCFC
split-complementary
#CA99FC #FCFC99 #9AFC99
monochromatic
#8C22F9 #AB5EFA #CA99FC #E9D4FE #F0E1FE

Accessibility & contrast

On white

2.22
#CA99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CA99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99FC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99FC#FFFFFF#000000##000000
##CA99FC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#8EAEF9
Tritanopia (blue-blind)
#C3A8BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca99fc;
/* rgb */ color: rgb(202, 153, 252);
/* oklch */ color: oklch(76.6% 0.146 306.0);
Tailwind
colors: {
  custom: {
    50: '#dbb7fd',
    500: '#ca99fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca99fc;
$custom-light: #dbb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99fc",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 269.697,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76586,
    "c": 0.14594,
    "h": 306
  },
  "luminance": 0.42367
}

Semantic roles & 50–950 ramp

primary
#CA99FC
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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